net.minecraft.world.entity.vehicle

public abstract class AbstractMinecartContainer

extends AbstractMinecart implements ContainerEntity

All mapped superinterfaces:

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

cqy
net.minecraft.world.entity.vehicle.AbstractMinecartContainer
net.minecraft.class_1693
net.minecraft.entity.vehicle.StorageMinecartEntity
net.minecraft.world.entity.vehicle.EntityMinecartContainer

Field summary

Modifier and TypeField
private NonNullList<ItemStack>
b
itemStacks
field_7735
inventory
private ResourceKey<LootTable>
c
lootTable
field_7734
lootTable
private long
d
lootTableSeed
field_7732
lootTableSeed

Constructor summary

ModifierConstructor
protected (EntityType<?> arg0, Level arg1)

Method summary

Modifier and TypeMethod
public void
a(ard arg0, btc arg1)
destroy(ServerLevel arg0, DamageSource arg1)
method_7516(class_3218 arg0, class_1282 arg1)
killAndDropSelf(ServerWorld arg0, DamageSource arg1)
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(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)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
public void
a(int arg0, cwq arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
public void
e()
setChanged()
method_5431()
markDirty()
public boolean
a(coy arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
public void
a(bum$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
protected void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public InteractionResult
a(coy arg0, bsk arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
protected Vec3
a(fbb arg0)
applyNaturalSlowdown(Vec3 arg0)
method_7525(class_243 arg0)
applySlowdown(Vec3d arg0)
public void
a()
clearContent()
method_5448()
clear()
public void
a(aku<evx> arg0, long arg1)
setLootTable(ResourceKey<LootTable> arg0, long arg1)
method_7562(class_5321<class_52> arg0, long arg1)
setLootTable(RegistryKey<LootTable> lootTable, long lootSeed)
public AbstractContainerMenu
createMenu(int arg0, cox arg1, coy arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
protected abstract AbstractContainerMenu
a(int arg0, cox arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int syncId, PlayerInventory playerInventory)
public ResourceKey<LootTable>
v()
getContainerLootTable()
method_42276()
getLootTable()
public void
a(aku<evx> arg0)
setContainerLootTable(ResourceKey<LootTable> arg0)
method_42275(class_5321<class_52> arg0)
setLootTable(RegistryKey<LootTable> arg0)
public long
x()
getContainerLootTableSeed()
method_42277()
getLootTableSeed()
public void
a(long arg0)
setContainerLootTableSeed(long arg0)
method_42274(long arg0)
setLootTableSeed(long arg0)
public NonNullList<ItemStack>
E()
getItemStacks()
method_42278()
getInventory()
public void
F()
clearItemStacks()
method_42273()
resetInventory()