net.minecraft.world.entity.vehicle

public class ChestBoat

extends Boat implements HasCustomInventoryScreen, ContainerEntity

All mapped superinterfaces:

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

byj
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
f
CONTAINER_SIZE
field_38207
INVENTORY_SIZE
f_219867_
private NonNullList<ItemStack>
ao
itemStacks
field_38204
inventory
f_219864_
private ResourceLocation
ap
lootTable
field_38205
lootTableId
f_219865_
private long
aq
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
m()
getSinglePassengerXOffset()
method_42280()
getPassengerHorizontalOffset()
m_213802_()
protected int
t()
getMaxPassengers()
method_42281()
getMaxPassengers()
m_213801_()
protected void
b(qp arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(qp arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a(bcz arg0)
destroy(DamageSource arg0)
method_42279(class_1282 arg0)
dropItems(DamageSource arg0)
m_213560_(C_489_ arg0)
public void
a(bdr$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(bwp arg0, bcl 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(bwp arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
m_213583_(C_1141_ arg0)
public Item
h()
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, cdt 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
k(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(bwp arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public AbstractContainerMenu
createMenu(int arg0, bwo arg1, bwp 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
d(bwp arg0)
unpackLootTable(Player arg0)
method_42282(class_1657 arg0)
generateLoot(PlayerEntity player)
m_219913_(C_1141_ arg0)
public ResourceLocation
y()
getLootTable()
method_42276()
getLootTableId()
m_214142_()
public void
a(acf arg0)
setLootTable(ResourceLocation arg0)
method_42275(class_2960 arg0)
setLootTableId(Identifier arg0)
m_214199_(C_5265_ arg0)
public long
z()
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>
A()
getItemStacks()
method_42278()
getInventory()
m_213659_()
public void
B()
clearItemStacks()
method_42273()
resetInventory()
m_213775_()