net.minecraft.world.entity.vehicle

public interface ContainerEntity

extends Container, MenuProvider

cdp
net.minecraft.world.entity.vehicle.ContainerEntity
net.minecraft.class_7265
net.minecraft.entity.vehicle.VehicleInventory
net.minecraft.src.C_213074_
net.minecraft.world.entity.vehicle.ContainerEntity

Method summary

Modifier and TypeMethod
Vec3
dj()
position()
method_19538()
getPos()
m_20182_()
ResourceLocation
G()
getLootTable()
method_42276()
getLootTableId()
m_214142_()
void
a(aew arg0)
setLootTable(ResourceLocation arg0)
method_42275(class_2960 arg0)
setLootTableId(Identifier lootTableId)
m_214199_(C_5265_ arg0)
long
H()
getLootTableSeed()
method_42277()
getLootTableSeed()
m_213803_()
void
a(long arg0)
setLootTableSeed(long arg0)
method_42274(long arg0)
setLootTableSeed(long lootTableSeed)
m_214065_(long arg0)
NonNullList<ItemStack>
I()
getItemStacks()
method_42278()
getInventory()
m_213659_()
void
K()
clearItemStacks()
method_42273()
resetInventory()
m_213775_()
Level
dL()
level()
method_37908()
getWorld()
m_9236_()
boolean
dG()
isRemoved()
method_31481()
isRemoved()
m_213877_()
default boolean
af_()
isEmpty()
method_5442()
isEmpty()
m_7983_()
default void
c(qw arg0)
addChestVehicleSaveData(CompoundTag arg0)
method_42288(class_2487 arg0)
writeInventoryToNbt(NbtCompound nbt)
m_219943_(C_4917_ arg0)
default void
b_(qw arg0)
readChestVehicleSaveData(CompoundTag arg0)
method_42285(class_2487 arg0)
readInventoryFromNbt(NbtCompound nbt)
m_219934_(C_4917_ arg0)
default void
a(bho arg0, cpv arg1, biq arg2)
chestVehicleDestroyed(DamageSource arg0, Level arg1, Entity arg2)
method_42283(class_1282 arg0, class_1937 arg1, class_1297 arg2)
onBroken(DamageSource source, World world, Entity vehicle)
m_219927_(C_489_ p_219929_, C_1596_ p_219930_, C_507_ arg2)
default InteractionResult
c_(cbu arg0)
interactWithContainerVehicle(Player arg0)
method_42284(class_1657 arg0)
open(PlayerEntity player)
m_268996_(C_1141_ arg0)
default void
f(cbu arg0)
unpackChestVehicleLootTable(Player arg0)
method_42291(class_1657 arg0)
generateInventoryLoot(PlayerEntity player)
m_219949_(C_1141_ arg0)
default void
f()
clearChestVehicleContent()
method_42293()
clearInventory()
m_219953_()
default boolean
g()
isChestVehicleEmpty()
method_42295()
isInventoryEmpty()
m_219956_()
default ItemStack
e_(int arg0)
removeChestVehicleItemNoUpdate(int arg0)
method_42289(int arg0)
removeInventoryStack(int slot)
m_219945_(int arg0)
default ItemStack
f_(int arg0)
getChestVehicleItem(int arg0)
method_42290(int arg0)
getInventoryStack(int slot)
m_219947_(int arg0)
default ItemStack
b(int arg0, int arg1)
removeChestVehicleItem(int arg0, int arg1)
method_42286(int arg0, int arg1)
removeInventoryStack(int slot, int amount)
m_219936_(int p_219938_, int arg1)
default void
c(int arg0, cjf arg1)
setChestVehicleItem(int arg0, ItemStack arg1)
method_42287(int arg0, class_1799 arg1)
setInventoryStack(int slot, ItemStack stack)
m_219940_(int p_219942_, C_1391_ arg1)
default SlotAccess
g_(int arg0)
getChestVehicleSlot(int arg0)
method_42292(int arg0)
getInventoryStackReference(int slot)
m_219951_(int arg0)
default boolean
g(cbu arg0)
isChestVehicleStillValid(Player arg0)
method_42294(class_1657 arg0)
canPlayerAccess(PlayerEntity player)
m_219954_(C_1141_ arg0)