net.minecraft.world.entity.vehicle

public abstract class AbstractChestBoat

extends AbstractBoat implements HasCustomInventoryScreen, ContainerEntity

All mapped superinterfaces:

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

crv
net.minecraft.world.entity.vehicle.AbstractChestBoat
net.minecraft.class_10256
net.minecraft.entity.vehicle.AbstractChestBoatEntity
net.minecraft.world.entity.vehicle.AbstractChestBoat

Field summary

Modifier and TypeField
private static final int
h
CONTAINER_SIZE
field_54462
INVENTORY_SIZE
private NonNullList<ItemStack>
i
itemStacks
field_54463
inventory
private ResourceKey<LootTable>
j
lootTable
field_54464
lootTable
private long
k
lootTableSeed
field_54465
lootTableSeed

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractChestBoat> arg0, Level arg1, Supplier<Item> arg2)

Method summary

Modifier and TypeMethod
protected float
s()
getSinglePassengerXOffset()
method_64499()
getPassengerHorizontalOffset()
protected int
t()
getMaxPassengers()
method_64500()
getMaxPassengers()
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
a(ash arg0, bua arg1)
destroy(ServerLevel arg0, DamageSource arg1)
method_7516(class_3218 arg0, class_1282 arg1)
killAndDropSelf(ServerWorld arg0, DamageSource arg1)
public void
a(bvk$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
public InteractionResult
a(cpx arg0, bti arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
public void
b(cpx arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
public void
a()
clearContent()
method_5448()
clear()
public int
b()
getContainerSize()
method_5439()
size()
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, cxp 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(cpx arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
public AbstractContainerMenu
createMenu(int arg0, cpw arg1, cpx arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
public void
e(cpx arg0)
unpackLootTable(Player arg0)
method_64501(class_1657 arg0)
generateLoot(PlayerEntity player)
public ResourceKey<LootTable>
v()
getContainerLootTable()
method_42276()
getLootTable()
public void
a(aly<ewu> 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>
B()
getItemStacks()
method_42278()
getInventory()
public void
C()
clearItemStacks()
method_42273()
resetInventory()
public void
c(cpx arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)