net.minecraft.world.entity.vehicle

public abstract class AbstractMinecartContainer

extends AbstractMinecart implements Container, MenuProvider

All mapped superinterfaces:

Nameable, CommandSource, Container, Clearable, MenuProvider, MenuConstructor

bhm
net.minecraft.world.entity.vehicle.AbstractMinecartContainer
net.minecraft.class_1693
net.minecraft.entity.vehicle.StorageMinecartEntity
net.minecraft.entity.item.minecart.ContainerMinecartEntity
net.minecraft.server.v1_16_R3.EntityMinecartContainer

Field summary

Modifier and TypeField
private NonNullList<ItemStack>
b
itemStacks
field_7735
inventory
field_94113_a
items
private boolean
c
dropEquipment
field_7733
field_7733
field_94112_b
private ResourceLocation
d
lootTable
field_7734
lootTableId
field_184290_c
lootTable
private long
e
lootTableSeed
field_7732
lootSeed
field_184291_d
lootTableSeed

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(apk arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
dropItems(DamageSource arg0)
func_94095_a(DamageSource arg0)
public boolean
c()
isEmpty()
method_5442()
isEmpty()
func_191420_l()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
func_70301_a(int arg0)
getItem(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)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bmb arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public boolean
a_(int arg0, bmb arg1)
setSlot(int arg0, ItemStack arg1)
method_5758(int arg0, class_1799 arg1)
equip(int arg0, ItemStack arg1)
func_174820_d(int arg0, ItemStack arg1)
public void
X_()
setChanged()
method_5431()
markDirty()
func_70296_d()
update()
public boolean
a(bfw arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public Entity
b(aag arg0)
changeDimension(ServerLevel arg0)
method_5731(class_3218 arg0)
moveToWorld(ServerWorld arg0)
func_241206_a_(ServerWorld arg0)
public void
ad()
remove()
method_5650()
remove()
func_70106_y()
die()
protected void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
protected void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public InteractionResult
a(bfw arg0, aot arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
func_184230_a(PlayerEntity arg0, Hand arg1)
protected void
i()
applyNaturalSlowdown()
method_7525()
applySlowdown()
func_94101_h()
decelerate()
public void
d(bfw arg0)
unpackLootTable(Player arg0)
method_7563(class_1657 arg0)
generateLoot(PlayerEntity player)
func_184288_f(PlayerEntity arg0)
public void
Y_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public void
a(vk arg0, long arg1)
setLootTable(ResourceLocation arg0, long arg1)
method_7562(class_2960 arg0, long arg1)
setLootTable(Identifier id, long lootSeed)
func_184289_a(ResourceLocation arg0, long arg1)
setLootTable(MinecraftKey arg0, long arg1)
public AbstractContainerMenu
createMenu(int arg0, bfv arg1, bfw arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
protected abstract AbstractContainerMenu
a(int arg0, bfv arg1)
createMenu(int arg0, Inventory arg1)
method_17357(int arg0, class_1661 arg1)
getScreenHandler(int syncId, PlayerInventory playerInventory)
func_213968_a(int arg0, PlayerInventory arg1)