Skip to content

ChestBoat 5.46.0 ​

class · pocketmine\item\ChestBoat · source

Extends UnstackableItem

A boat with chest (or the bamboo chest raft): used on water or a block, it places a minecraft:chest_boat.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\item\ItemIdentifier $identifier, string $name, \pocketmine\entity\vehicle\BoatVariant $variant, array $enchantmentTags = [])

getBoatVariant() ​

php
public function getBoatVariant() : \pocketmine\entity\vehicle\BoatVariant

getFuelTime() ​

php
public function getFuelTime() : int

placesChestBoat() ​

php
public function placesChestBoat() : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.