net.minecraft.world.entity.vehicle

public abstract class AbstractMinecartContainer

extends AbstractMinecart implements Container, MenuProvider

All mapped superinterfaces:

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

bph
net.minecraft.world.entity.vehicle.AbstractMinecartContainer
net.minecraft.class_1693
net.minecraft.entity.vehicle.StorageMinecartEntity
net.minecraft.src.C_1204_
net.minecraft.world.entity.vehicle.EntityMinecartContainer

Field summary

Modifier and TypeField
private NonNullList<ItemStack>
c
itemStacks
field_7735
inventory
f_38202_
private ResourceLocation
d
lootTable
field_7734
lootTableId
f_38204_
private long
e
lootTableSeed
field_7732
lootSeed
f_38205_

Constructor summary

ModifierConstructor
protected (EntityType<?> p_38214_, Level arg1)
protected (EntityType<?> type, double x, double y, double z, Level world)

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 boolean
c()
isEmpty()
method_5442()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_38221_, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, bue arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_38226_, C_1391_ arg1)
public SlotAccess
k(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public void
e()
setChanged()
method_5431()
markDirty()
m_6596_()
public boolean
a(bnr arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public void
a(awt$c arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
m_142687_(C_507_$C_141065_ arg0)
protected void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public InteractionResult
a(bnr arg0, avp arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_38233_, C_470_ arg1)
protected void
j()
applyNaturalSlowdown()
method_7525()
applySlowdown()
m_7114_()
public void
d(bnr arg0)
unpackLootTable(Player arg0)
method_7563(class_1657 arg0)
generateLoot(PlayerEntity player)
m_38254_(C_1141_ arg0)
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public void
a(yh arg0, long arg1)
setLootTable(ResourceLocation arg0, long arg1)
method_7562(class_2960 arg0, long arg1)
setLootTable(Identifier id, long lootSeed)
m_38236_(C_5265_ p_38238_, long arg1)
public AbstractContainerMenu
createMenu(int arg0, bnq arg1, bnr arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
m_7208_(int p_38252_, C_1140_ p_38253_, C_1141_ arg2)
protected abstract AbstractContainerMenu
a(int arg0, bnq arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int syncId, PlayerInventory playerInventory)
m_7402_(int p_38223_, C_1140_ arg1)