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.unmapped.C_cyjxgxrb
net.minecraft.entity.vehicle.AbstractChestBoatEntity
net.minecraft.entity.vehicle.AbstractChestBoatEntity
net.minecraft.src.C_345600_
net.minecraft.world.entity.vehicle.AbstractChestBoat

Field summary

Modifier and TypeField
private static final int
h
CONTAINER_SIZE
field_54462
f_vfvcqxxr
INVENTORY_SIZE
INVENTORY_SIZE
f_346876_
private NonNullList<ItemStack>
i
itemStacks
field_54463
f_lfxympdn
inventory
inventory
f_346360_
private ResourceKey<LootTable>
j
lootTable
field_54464
f_dehvsldw
lootTable
lootTable
f_347872_
private long
k
lootTableSeed
field_54465
f_nxvmtoei
lootTableSeed
lootTableSeed
f_346442_

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractChestBoat> p_363408_, Level world, Supplier<Item> arg2)

Method summary

Modifier and TypeMethod
protected float
s()
getSinglePassengerXOffset()
method_64499()
m_vcitzkrx()
getPassengerHorizontalOffset()
getSinglePassengerXOffset()
m_352050_()
protected int
t()
getMaxPassengers()
method_64500()
m_ctquuefr()
getMaxPassengers()
getMaxPassengers()
m_355778_()
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a(ash arg0, bua arg1)
destroy(ServerLevel arg0, DamageSource arg1)
method_7516(class_3218 arg0, class_1282 arg1)
m_jynbrcac(C_bdwnwhiu arg0, C_sbxfkpyv arg1)
killAndDropSelf(ServerWorld arg0, DamageSource arg1)
killAndDropSelf(ServerWorld arg0, DamageSource arg1)
m_38227_(C_12_ p_366820_, C_489_ arg1)
public void
a(bvk$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
m_jvhgezub(C_astfners$C_emmohndu arg0)
remove(Entity$RemovalReason arg0)
remove(Entity$RemovalReason arg0)
m_142687_(C_507_$C_141065_ arg0)
public InteractionResult
a(cpx arg0, bti arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
m_fdhoudpd(C_jzrpycqo arg0, C_laxmzoqs arg1)
interact(PlayerEntity arg0, Hand arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_369395_, C_470_ arg1)
public void
b(cpx arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
m_icheomud(C_jzrpycqo arg0)
openInventory(PlayerEntity arg0)
openInventory(PlayerEntity arg0)
m_213583_(C_1141_ arg0)
public void
a()
clearContent()
method_5448()
m_rufrndtr()
clear()
clear()
m_6211_()
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(int arg0)
getStack(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
m_jqhmcoxx(int arg0, int arg1)
removeStack(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_361799_, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
m_ujfmycis(int arg0)
removeStack(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, cxp arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setStack(int arg0, ItemStack arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_361378_, C_1391_ arg1)
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
m_owvpveuv(int arg0)
getStackReference(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public void
e()
setChanged()
method_5431()
m_phlhitmt()
markDirty()
markDirty()
m_6596_()
public boolean
a(cpx arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUse(PlayerEntity arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ 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)
m_7208_(int p_363969_, C_1140_ p_361417_, C_1141_ arg2)
public void
e(cpx arg0)
unpackLootTable(Player arg0)
method_64501(class_1657 arg0)
m_jhidwmsn(C_jzrpycqo arg0)
generateLoot(PlayerEntity player)
generateLoot(PlayerEntity player)
m_353623_(C_1141_ arg0)
public ResourceKey<LootTable>
v()
getContainerLootTable()
method_42276()
m_ozrwrjzp()
getLootTable()
getLootTable()
m_219860_()
public void
a(aly<ewu> arg0)
setContainerLootTable(ResourceKey<LootTable> arg0)
method_42275(class_5321<class_52> arg0)
m_mvclgeqi(C_xhhleach<C_inwsuliy> arg0)
setLootTable(RegistryKey<LootTable> arg0)
setLootTable(RegistryKey<LootTable> arg0)
m_38236_(C_5264_<C_2822_> arg0)
public long
x()
getContainerLootTableSeed()
method_42277()
m_ixbkjejb()
getLootTableSeed()
getLootSeed()
m_219861_()
public void
a(long arg0)
setContainerLootTableSeed(long arg0)
method_42274(long arg0)
m_plgxqonm(long arg0)
setLootTableSeed(long arg0)
setLootSeed(long arg0)
m_219856_(long arg0)
public NonNullList<ItemStack>
B()
getItemStacks()
method_42278()
m_oughjdjm()
getInventory()
getStacks()
m_213659_()
public void
C()
clearItemStacks()
method_42273()
m_huzqbykz()
resetInventory()
clearInventory()
m_213775_()
public void
c(cpx arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
m_eedjwnvs(C_jzrpycqo arg0)
onClose(PlayerEntity arg0)
onClose(PlayerEntity arg0)
m_5785_(C_1141_ arg0)