BoatVariant 5.46.0
The wood of a boat, sent to clients as the VARIANT of minecraft:boat and minecraft:chest_boat and saved as "Variant" (Bedrock numbering: the bamboo raft is variant 7).
Cases
ACACIA
php
case ACACIA = 4BAMBOO
php
case BAMBOO = 7BIRCH
php
case BIRCH = 2CHERRY
php
case CHERRY = 8DARK_OAK
php
case DARK_OAK = 5JUNGLE
php
case JUNGLE = 3MANGROVE
php
case MANGROVE = 6OAK
php
case OAK = 0PALE_OAK
php
case PALE_OAK = 9POPLAR
php
case POPLAR = 10SPRUCE
php
case SPRUCE = 1Methods
fromBoatType()
php
public static function fromBoatType(\pocketmine\item\BoatType $type) : selfgetBoatItem()
php
public function getBoatItem() : \pocketmine\item\ItemThe item of the boat of this wood (the bamboo raft for bamboo).
getChestBoatItem()
php
public function getChestBoatItem() : \pocketmine\item\ItemThe item of the boat with chest of this wood (the bamboo chest raft for bamboo).
isRaft()
php
public function isRaft() : boolWhether this is the bamboo raft (flat, its seats are higher).
