net.minecraft.world.item

public class BoatItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cks
net.minecraft.world.item.BoatItem
net.minecraft.class_1749
net.minecraft.item.BoatItem
net.minecraft.src.C_1326_
net.minecraft.world.item.ItemBoat

Field summary

Modifier and TypeField
private static final Predicate<Entity>
a
ENTITY_PREDICATE
field_17497
RIDERS
f_40615_
private final Boat$Type
b
type
field_7902
type
f_40616_
private final boolean
c
hasChest
field_38211
chest
f_220011_

Constructor summary

ModifierConstructor
public (boolean chest, Boat$Type type, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResultHolder<ItemStack>
a(ctp arg0, cfi arg1, bka arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_40623_, C_1141_ p_40624_, C_470_ arg2)
private Boat
a(ctp arg0, elr arg1, cmy arg2, cfi arg3)
getBoat(Level arg0, HitResult arg1, ItemStack arg2, Player arg3)
method_42296(class_1937 arg0, class_239 arg1, class_1799 arg2, class_1657 arg3)
createEntity(World world, HitResult hitResult, ItemStack stack, PlayerEntity player)
m_220016_(C_1596_ p_220018_, C_3043_ p_311821_, C_1391_ p_313119_, C_1141_ arg3)