net.minecraft.world.entity.vehicle

public class MinecartChest

extends AbstractMinecartContainer

All mapped superinterfaces:

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

csf
net.minecraft.world.entity.vehicle.MinecartChest
net.minecraft.class_1694
net.minecraft.entity.vehicle.ChestMinecartEntity
net.minecraft.world.entity.vehicle.EntityMinecartChest

Constructor summary

ModifierConstructor
public (EntityType<? extends MinecartChest> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected Item
u()
getDropItem()
method_7557()
asItem()
public ItemStack
dJ()
getPickResult()
method_31480()
getPickBlockStack()
public int
b()
getContainerSize()
method_5439()
size()
public BlockState
w()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
public int
z()
getDefaultDisplayOffset()
method_7526()
getDefaultBlockOffset()
public AbstractContainerMenu
a(int arg0, cpw arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int arg0, PlayerInventory arg1)
public void
c(cpx arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
public InteractionResult
a(cpx arg0, bti arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)