net.minecraft.world.entity.vehicle

public abstract class AbstractMinecartContainer

extends AbstractMinecart implements ContainerEntity

All mapped superinterfaces:

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

byh
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(bcz arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
dropItems(DamageSource arg0)
m_7617_(C_489_ arg0)
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, cdt 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(bwp arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public void
a(bdr$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(qp arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(qp arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public InteractionResult
a(bwp arg0, bcl 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
k()
applyNaturalSlowdown()
method_7525()
applySlowdown()
m_7114_()
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public void
a(acf 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, bwo arg1, bwp 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, bwo 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)
public ResourceLocation
y()
getLootTable()
method_42276()
getLootTableId()
m_214142_()
public void
a(acf arg0)
setLootTable(ResourceLocation arg0)
method_42275(class_2960 arg0)
setLootTableId(Identifier arg0)
m_214199_(C_5265_ arg0)
public long
z()
getLootTableSeed()
method_42277()
getLootTableSeed()
m_213803_()
public void
a(long arg0)
setLootTableSeed(long arg0)
method_42274(long arg0)
setLootTableSeed(long arg0)
m_214065_(long arg0)
public NonNullList<ItemStack>
A()
getItemStacks()
method_42278()
getInventory()
m_213659_()
public void
B()
clearItemStacks()
method_42273()
resetInventory()
m_213775_()