public class TARDISTrapdoorRecalculator
extends java.lang.Object
Constructor and Description |
---|
TARDISTrapdoorRecalculator() |
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.data.BlockData |
recalculate(org.bukkit.block.data.BlockData b,
COMPASS d)
Recalculate the data for directional block (TRAPDOOR) when the TARDIS preset changes direction.
|
public org.bukkit.block.data.BlockData recalculate(org.bukkit.block.data.BlockData b, COMPASS d)
b
- the block data to convertd
- the new direction of the TARDIS