PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Static Public Member Functions | |
static | getAllSidedLogIdentifier (WoodType $treeType) |
static | getButtonIdentifier (WoodType $treeType) |
static | getDoorIdentifier (WoodType $treeType) |
static | getFenceGateIdentifier (WoodType $treeType) |
static | getFenceIdentifier (WoodType $type) |
static | getLeavesIdentifier (LeavesType $leavesType) |
static | getLogIdentifier (WoodType $treeType) |
static | getPlanksIdentifier (WoodType $type) |
static | getPressurePlateIdentifier (WoodType $treeType) |
static | getSaplingIdentifier (SaplingType $treeType) |
static | getSignInfo (WoodType $treeType) |
static | getSlabIdentifier (WoodType $type) |
static | getStairsIdentifier (WoodType $treeType) |
static | getTrapdoorIdentifier (WoodType $treeType) |
All wood-like blocks have different IDs for different wood types.
We can't make these dynamic, because some types of wood have different type properties (e.g. crimson and warped planks are not flammable, but all other planks are).
In the future, it's entirely within the realm of reason that the other types of wood may differ in other ways, such as flammability, hardness, required tool tier, etc. Therefore, to stay on the safe side of Mojang, wood-like blocks have static types. This does unfortunately generate a lot of ugly code.
Definition at line 47 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 109 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 189 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 219 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 234 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 64 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 124 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 94 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 49 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 204 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 139 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 154 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 79 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 249 of file WoodLikeBlockIdHelper.php.
|
static |
Definition at line 174 of file WoodLikeBlockIdHelper.php.