public class TARDISStairRecalculator
extends java.lang.Object
Constructor and Description |
---|
TARDISStairRecalculator() |
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.data.BlockData |
recalculate(org.bukkit.block.data.BlockData b,
COMPASS d,
int col,
boolean duck)
Recalculate the data for directional block (STAIR) when the TARDIS preset changes direction.
|
public org.bukkit.block.data.BlockData recalculate(org.bukkit.block.data.BlockData b, COMPASS d, int col, boolean duck)
b
- the block data stored in the preset datad
- the new direction of the TARDIScol
- the preset column that is being calculatedduck
- whether this is the Rubber Duck preset