net.minecraft.world.entity.vehicle

public abstract class AbstractBoat

extends VehicleEntity implements Leashable

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Leashable

cuk
net.minecraft.world.entity.vehicle.AbstractBoat
net.minecraft.class_10255
net.minecraft.entity.vehicle.AbstractBoatEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
j
DATA_ID_PADDLE_LEFT
field_54448
LEFT_PADDLE_MOVING
private static final EntityDataAccessor<Boolean>
k
DATA_ID_PADDLE_RIGHT
field_54449
RIGHT_PADDLE_MOVING
private static final EntityDataAccessor<Integer>
l
DATA_ID_BUBBLE_TIME
field_54450
BUBBLE_WOBBLE_TICKS
public static final int
a
PADDLE_LEFT
field_54427
field_54427
public static final int
b
PADDLE_RIGHT
field_54445
field_54445
private static final int
m
TIME_TO_EJECT
field_54451
field_54451
private static final float
n
PADDLE_SPEED
field_54452
NEXT_PADDLE_PHASE
public static final double
c
PADDLE_SOUND_TIME
field_54446
EMIT_SOUND_EVENT_PADDLE_ROTATION
public static final int
d
BUBBLE_TIME
field_54447
field_54447
private final float[]
o
paddlePositions
field_54453
paddlePhases
private float
p
outOfControlTicks
field_54455
ticksUnderwater
private float
q
deltaRotation
field_54456
yawVelocity
private final InterpolationHandler
r
interpolation
field_55706
interpolator
private boolean
s
inputLeft
field_54444
pressingLeft
private boolean
t
inputRight
field_54428
pressingRight
private boolean
u
inputUp
field_54429
pressingForward
private boolean
ay
inputDown
field_54430
pressingBack
private double
az
waterLevel
field_54431
waterLevel
private float
aA
landFriction
field_54432
nearbySlipperiness
private AbstractBoat$Status
aB
status
field_54433
location
private AbstractBoat$Status
aC
oldStatus
field_54434
lastLocation
private double
aD
lastYd
field_54435
fallVelocity
private boolean
aE
isAboveBubbleColumn
field_54436
onBubbleColumnSurface
private boolean
aF
bubbleColumnDirectionIsDown
field_54437
bubbleColumnIsDrag
private float
aG
bubbleMultiplier
field_54438
bubbleWobbleStrength
private float
aH
bubbleAngle
field_54439
bubbleWobble
private float
aI
bubbleAngleO
field_54440
lastBubbleWobble
private Leashable$LeashData
aJ
leashData
field_54441
leashData
private final Supplier<Item>
aK
dropItem
field_54442
itemSupplier

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractBoat> type, Level world, Supplier<Item> itemSupplier)

Method summary

Modifier and TypeMethod
public void
p(double arg0, double arg1, double arg2)
setInitialPos(double arg0, double arg1, double arg2)
method_64498(double arg0, double arg1, double arg2)
initPosition(double x, double y, double z)
protected Entity$MovementEmission
bf()
getMovementEmission()
method_33570()
getMoveEffect()
protected void
a(akr$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
i(bwv arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
collidesWith(Entity arg0)
public static boolean
a(bwv arg0, bwv arg1)
canVehicleCollide(Entity arg0, Entity arg1)
method_64486(class_1297 arg0, class_1297 arg1)
canCollide(Entity entity, Entity other)
public boolean
bL()
canBeCollidedWith()
method_30948()
isCollidable()
public boolean
bG()
isPushable()
method_5810()
isPushable()
public Vec3
a(jc$a arg0, m$a arg1)
getRelativePortalPosition(Direction$Axis arg0, BlockUtil$FoundRectangle arg1)
method_30633(class_2350$class_2351 arg0, class_5459$class_5460 arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
protected abstract double
b(bwy arg0)
rideHeight(EntityDimensions arg0)
method_64489(class_4048 arg0)
getPassengerAttachmentY(EntityDimensions dimensions)
protected Vec3
a(bwv arg0, bwy arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
public void
a(boolean arg0, iw arg1)
onAboveBubbleColumn(boolean arg0, BlockPos arg1)
method_5700(boolean arg0, class_2338 arg1)
onBubbleColumnSurfaceCollision(boolean arg0, BlockPos arg1)
public void
h(bwv arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
public void
q(float arg0)
animateHurt(float arg0)
method_5879(float arg0)
animateDamage(float arg0)
public boolean
bF()
isPickable()
method_5863()
canHit()
public InterpolationHandler
R_()
getInterpolation()
method_66233()
getInterpolator()
public Direction
cP()
getMotionDirection()
method_5755()
getMovementDirection()
public void
h()
tick()
method_5773()
tick()
private void
v()
tickBubbleColumn()
method_64476()
handleBubbleColumn()
protected SoundEvent
f()
getPaddleSound()
method_64494()
getPaddleSound()
public void
a(boolean arg0, boolean arg1)
setPaddleState(boolean arg0, boolean arg1)
method_64490(boolean arg0, boolean arg1)
setPaddlesMoving(boolean left, boolean right)
public float
a(int arg0, float arg1)
getRowingTime(int arg0, float arg1)
method_64485(int arg0, float arg1)
lerpPaddlePhase(int paddle, float tickProgress)
public Leashable$LeashData
Y_()
getLeashData()
method_60955()
getLeashData()
public void
a(bxu$a arg0)
setLeashData(Leashable$LeashData arg0)
method_60960(class_9817$class_9818 arg0)
setLeashData(Leashable$LeashData arg0)
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()
public void
b(bwv arg0, float arg1)
elasticRangeLeashBehaviour(Entity arg0, float arg1)
method_61162(class_1297 arg0, float arg1)
applyLeashElasticity(Entity arg0, float arg1)
private AbstractBoat$Status
x()
getStatus()
method_64478()
checkLocation()
public float
g()
getWaterLevelAbove()
method_64495()
getWaterHeightBelow()
public float
j()
getGroundFriction()
method_64497()
getNearbySlipperiness()
private boolean
D()
checkInWater()
method_64479()
checkBoatInWater()
private AbstractBoat$Status
E()
isUnderwater()
method_64480()
getUnderWaterLocation()
protected double
bc()
getDefaultGravity()
method_7490()
getGravity()
private void
F()
floatBoat()
method_64481()
updateVelocity()
private void
J()
controlBoat()
method_64482()
updatePaddles()
protected float
m()
getSinglePassengerXOffset()
method_64499()
getPassengerHorizontalOffset()
public boolean
b(bwv arg0)
hasEnoughSpaceFor(Entity arg0)
method_64488(class_1297 arg0)
isSmallerThanBoat(Entity entity)
protected void
a(bwv arg0, bwv$a arg1)
positionRider(Entity arg0, Entity$MoveFunction arg1)
method_5865(class_1297 arg0, class_1297$class_4738 arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
public Vec3
b(bxw arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
protected void
c(bwv arg0)
clampRotation(Entity arg0)
method_64492(class_1297 arg0)
clampPassengerYaw(Entity passenger)
public void
k(bwv arg0)
onPassengerTurned(Entity arg0)
method_5644(class_1297 arg0)
onPassengerLookAround(Entity arg0)
protected void
b(ua arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(ua arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public InteractionResult
a(crz arg0, bus arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
public void
a(bwv$d arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
protected void
a(double arg0, boolean arg1, ebg arg2, iw arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public boolean
c(int arg0)
getPaddleState(int arg0)
method_64491(int arg0)
isPaddleMoving(int paddle)
private void
m(int arg0)
setBubbleTime(int arg0)
method_64496(int arg0)
setBubbleWobbleTicks(int bubbleWobbleTicks)
private int
K()
getBubbleTime()
method_64483()
getBubbleWobbleTicks()
public float
a(float arg0)
getBubbleAngle(float arg0)
method_64484(float arg0)
lerpBubbleWobble(float tickProgress)
protected boolean
r(bwv arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
protected int
n()
getMaxPassengers()
method_64500()
getMaxPassengers()
public LivingEntity
cW()
getControllingPassenger()
method_5642()
getControllingPassenger()
public void
a(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
setInput(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
method_64487(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack)
public boolean
bm()
isUnderWater()
method_5869()
isSubmergedInWater()
protected final Item
o()
getDropItem()
method_7557()
asItem()
public final ItemStack
dI()
getPickResult()
method_31480()
getPickBlockStack()