net.minecraft.world.entity.vehicle

public class ChestBoat

extends Boat implements HasCustomInventoryScreen, ContainerEntity

All mapped superinterfaces:

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

cow
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 ResourceKey<LootTable>
k
lootTable
field_38205
lootTable
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
w()
getSinglePassengerXOffset()
method_42280()
getPassengerHorizontalOffset()
m_213802_()
protected int
F()
getMaxPassengers()
method_42281()
getMaxPassengers()
m_213801_()
protected void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a(brk arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
killAndDropSelf(DamageSource arg0)
m_38227_(C_489_ arg0)
public void
a(bsr$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(cmx arg0, bqq 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(cmx arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
m_213583_(C_1141_ arg0)
public Item
ak_()
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, cuq 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(cmx arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public AbstractContainerMenu
createMenu(int arg0, cmw arg1, cmx 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(cmx arg0)
unpackLootTable(Player arg0)
method_42282(class_1657 arg0)
generateLoot(PlayerEntity player)
m_219913_(C_1141_ arg0)
public ResourceKey<LootTable>
B()
getLootTable()
method_42276()
getLootTable()
m_214142_()
public void
a(akq<erw> arg0)
setLootTable(ResourceKey<LootTable> arg0)
method_42275(class_5321<class_52> arg0)
setLootTable(RegistryKey<LootTable> arg0)
m_38236_(C_5264_<C_2822_> arg0)
public long
C()
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>
D()
getItemStacks()
method_42278()
getInventory()
m_213659_()
public void
E()
clearItemStacks()
method_42273()
resetInventory()
m_213775_()
public void
c(cmx arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
m_5785_(C_1141_ arg0)