Skip to content

MinecartChest 5.46.0 ​

class · pocketmine\entity\vehicle\MinecartChest · source

Extends ContainerMinecart

Minecart with chest (vanilla minecraft:chest_minecart): 27 slots. Generated in mineshafts with the abandoned_mineshaft loot table. Broken, it drops a minecart, a chest and its contents (Bedrock).

Constants ​

INVENTORY_SIZE ​

php
public const INVENTORY_SIZE = 27

Methods ​

getCartDrops() ​

php
public function getCartDrops() : array

getInventorySize() ​

php
public function getInventorySize() : int

getMinecartType() ​

php
public function getMinecartType() : \pocketmine\entity\vehicle\MinecartType

getName() ​

php
public function getName() : string

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

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