net.minecraft.world.entity.vehicle

public interface ContainerEntity

extends Container, MenuProvider

csb
net.minecraft.world.entity.vehicle.ContainerEntity
net.minecraft.class_7265
net.minecraft.entity.vehicle.VehicleInventory
net.minecraft.world.entity.vehicle.ContainerEntity

Method summary

Modifier and TypeMethod
Vec3
du()
position()
method_19538()
getPos()
AABB
cR()
getBoundingBox()
method_5829()
getBoundingBox()
ResourceKey<LootTable>
v()
getContainerLootTable()
method_42276()
getLootTable()
void
a(aly<ewu> arg0)
setContainerLootTable(ResourceKey<LootTable> arg0)
method_42275(class_5321<class_52> arg0)
setLootTable(RegistryKey<LootTable> lootTable)
long
x()
getContainerLootTableSeed()
method_42277()
getLootTableSeed()
void
a(long arg0)
setContainerLootTableSeed(long arg0)
method_42274(long arg0)
setLootTableSeed(long lootTableSeed)
NonNullList<ItemStack>
B()
getItemStacks()
method_42278()
getInventory()
void
C()
clearItemStacks()
method_42273()
resetInventory()
Level
dW()
level()
method_37908()
getWorld()
boolean
dR()
isRemoved()
method_31481()
isRemoved()
default boolean
c()
isEmpty()
method_5442()
isEmpty()
default void
a(ux arg0, js$a arg1)
addChestVehicleSaveData(CompoundTag arg0, HolderLookup$Provider arg1)
method_42288(class_2487 arg0, class_7225$class_7874 arg1)
writeInventoryToNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
default void
b(ux arg0, js$a arg1)
readChestVehicleSaveData(CompoundTag arg0, HolderLookup$Provider arg1)
method_42285(class_2487 arg0, class_7225$class_7874 arg1)
readInventoryFromNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
default void
a(bua arg0, ash arg1, bvk arg2)
chestVehicleDestroyed(DamageSource arg0, ServerLevel arg1, Entity arg2)
method_42283(class_1282 arg0, class_3218 arg1, class_1297 arg2)
onBroken(DamageSource source, ServerWorld world, Entity vehicle)
default InteractionResult
b_(cpx arg0)
interactWithContainerVehicle(Player arg0)
method_42284(class_1657 arg0)
open(PlayerEntity player)
default void
f(cpx arg0)
unpackChestVehicleLootTable(Player arg0)
method_42291(class_1657 arg0)
generateInventoryLoot(PlayerEntity player)
default void
f()
clearChestVehicleContent()
method_42293()
clearInventory()
default boolean
g()
isChestVehicleEmpty()
method_42295()
isInventoryEmpty()
default ItemStack
f_(int arg0)
removeChestVehicleItemNoUpdate(int arg0)
method_42289(int arg0)
removeInventoryStack(int slot)
default ItemStack
g_(int arg0)
getChestVehicleItem(int arg0)
method_42290(int arg0)
getInventoryStack(int slot)
default ItemStack
b(int arg0, int arg1)
removeChestVehicleItem(int arg0, int arg1)
method_42286(int arg0, int arg1)
removeInventoryStack(int slot, int amount)
default void
c(int arg0, cxp arg1)
setChestVehicleItem(int arg0, ItemStack arg1)
method_42287(int arg0, class_1799 arg1)
setInventoryStack(int slot, ItemStack stack)
default SlotAccess
h_(int arg0)
getChestVehicleSlot(int arg0)
method_42292(int arg0)
getInventoryStackReference(int slot)
default boolean
g(cpx arg0)
isChestVehicleStillValid(Player arg0)
method_42294(class_1657 arg0)
canPlayerAccess(PlayerEntity player)