net.minecraft.world.entity.vehicle

public class ChestBoat

extends Boat implements HasCustomInventoryScreen, ContainerEntity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, VariantHolder, HasCustomInventoryScreen, ContainerEntity, Container, Clearable, MenuProvider, MenuConstructor

chd
net.minecraft.world.entity.vehicle.ChestBoat
net.minecraft.class_7264
net.minecraft.entity.vehicle.ChestBoatEntity
net.minecraft.src.C_213072_
net.minecraft.world.entity.vehicle.ChestBoat

Field summary

Modifier and TypeField
private static final int
i
CONTAINER_SIZE
field_38207
INVENTORY_SIZE
f_219867_
private NonNullList<ItemStack>
j
itemStacks
field_38204
inventory
f_219864_
private ResourceLocation
k
lootTable
field_38205
lootTableId
f_219865_
private long
l
lootTableSeed
field_38206
lootTableSeed
f_219866_

Constructor summary

ModifierConstructor
public (EntityType<? extends Boat> p_219870_, Level arg1)
public (Level p_219873_, double p_219874_, double arg2, double arg3)

Method summary

Modifier and TypeMethod
protected float
x()
getSinglePassengerXOffset()
method_42280()
getPassengerHorizontalOffset()
m_213802_()
protected int
z()
getMaxPassengers()
method_42281()
getMaxPassengers()
m_213801_()
protected void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a(bkt arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
killAndDropSelf(DamageSource arg0)
m_38227_(C_489_ arg0)
public void
a(blv$c arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
m_142687_(C_507_$C_141065_ arg0)
public InteractionResult
a(cfi arg0, bka arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_219899_, C_470_ arg1)
public void
b(cfi arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
m_213583_(C_1141_ arg0)
public Item
ah_()
getDropItem()
method_7557()
asItem()
m_38369_()
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(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)
removeStack(int arg0, int arg1)
m_7407_(int p_219883_, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, cmy arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_219886_, C_1391_ arg1)
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public void
e()
setChanged()
method_5431()
markDirty()
m_6596_()
public boolean
a(cfi arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public AbstractContainerMenu
createMenu(int arg0, cfh arg1, cfi 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_219911_, C_1140_ p_219912_, C_1141_ arg2)
public void
e(cfi arg0)
unpackLootTable(Player arg0)
method_42282(class_1657 arg0)
generateLoot(PlayerEntity player)
m_219913_(C_1141_ arg0)
public ResourceLocation
C()
getLootTable()
method_42276()
getLootTableId()
m_214142_()
public void
a(ahg arg0)
setLootTable(ResourceLocation arg0)
method_42275(class_2960 arg0)
setLootTableId(Identifier arg0)
m_214199_(C_5265_ arg0)
public long
D()
getLootTableSeed()
method_42277()
getLootTableSeed()
m_213803_()
public void
a(long arg0)
setLootTableSeed(long arg0)
method_42274(long arg0)
setLootTableSeed(long arg0)
m_214065_(long arg0)
public NonNullList<ItemStack>
E()
getItemStacks()
method_42278()
getInventory()
m_213659_()
public void
G()
clearItemStacks()
method_42273()
resetInventory()
m_213775_()
public void
c(cfi arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
m_5785_(C_1141_ arg0)