Skip to content

Boat ​

class · pocketmine\item\Boat · source

Extends Item

A wooden boat: used on water or a block, it places a minecraft:boat of its wood.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\item\ItemIdentifier $identifier, string $name, \pocketmine\item\BoatType $boatType)

getBoatVariant() 5.46.0 ​

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

getFuelTime() ​

php
public function getFuelTime() : int

getMaxStackSize() ​

php
public function getMaxStackSize() : int

getType() ​

php
public function getType() : \pocketmine\item\BoatType

placesChestBoat() 5.46.0 ​

php
public function placesChestBoat() : bool

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