MinecartType 5.46.0
The kinds of minecarts in Bedrock (there is no furnace minecart).
Cases
CHEST
php
case CHESTCOMMAND_BLOCK
php
case COMMAND_BLOCKHOPPER
php
case HOPPERNORMAL
php
case NORMALTNT
php
case TNTMethods
createEntity()
php
public function createEntity(\pocketmine\entity\Location $location) : \pocketmine\entity\vehicle\AbstractMinecartCreates a new cart of this type (not spawned).
getEntityId()
php
public function getEntityId() : stringBedrock entity identifier of the cart.
getItem()
php
public function getItem() : \pocketmine\item\ItemThe item that places this cart.
