net.minecraft.world.entity.vehicle

public class MinecartChest

extends AbstractMinecartContainer

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, ContainerEntity, Container, Clearable, MenuProvider, MenuConstructor

cpc
net.minecraft.world.entity.vehicle.MinecartChest
net.minecraft.class_1694
net.minecraft.unmapped.C_moxkhdhp
net.minecraft.entity.vehicle.ChestMinecartEntity
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 world)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected Item
ag_()
getDropItem()
method_7557()
m_wotxlatt()
asItem()
asItem()
m_38369_()
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
public AbstractMinecart$Type
v()
getMinecartType()
method_7518()
m_pfnhnfdm()
getMinecartType()
getMinecartType()
m_6064_()
public BlockState
x()
getDefaultDisplayBlockState()
method_7517()
m_staqlmtx()
getDefaultContainedBlock()
getDefaultContainedBlock()
m_6390_()
public int
z()
getDefaultDisplayOffset()
method_7526()
m_vptdbzfe()
getDefaultBlockOffset()
getDefaultBlockOffset()
m_7144_()
public AbstractContainerMenu
a(int arg0, cmy arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
m_vljvfgol(int arg0, C_sxzqocrm arg1)
getScreenHandler(int arg0, PlayerInventory arg1)
getScreenHandler(int arg0, PlayerInventory arg1)
m_7402_(int p_38497_, C_1140_ arg1)
public void
c(cmz arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
m_eedjwnvs(C_jzrpycqo arg0)
onClose(PlayerEntity arg0)
onClose(PlayerEntity arg0)
m_5785_(C_1141_ arg0)
public InteractionResult
a(cmz arg0, bqv arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
m_fdhoudpd(C_jzrpycqo arg0, C_laxmzoqs arg1)
interact(PlayerEntity arg0, Hand arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_270576_, C_470_ arg1)