net.minecraft.world.entity.vehicle

public class MinecartChest

extends AbstractMinecartContainer

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Container, Clearable, MenuProvider, MenuConstructor

bpl
net.minecraft.world.entity.vehicle.MinecartChest
net.minecraft.class_1694
net.minecraft.entity.vehicle.ChestMinecartEntity
net.minecraft.src.C_1211_
net.minecraft.world.entity.vehicle.EntityMinecartChest

Constructor summary

ModifierConstructor
public (EntityType<? extends MinecartChest> p_38488_, Level arg1)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public void
a(awd arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
dropItems(DamageSource arg0)
m_7617_(C_489_ arg0)
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
public AbstractMinecart$Type
q()
getMinecartType()
method_7518()
getMinecartType()
m_6064_()
public BlockState
s()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
m_6390_()
public int
u()
getDefaultDisplayOffset()
method_7526()
getDefaultBlockOffset()
m_7144_()
public AbstractContainerMenu
a(int arg0, bnq arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int arg0, PlayerInventory arg1)
m_7402_(int p_38497_, C_1140_ arg1)