net.minecraft.world.entity.vehicle

public abstract class AbstractBoat

extends VehicleEntity implements Leashable

All mapped superinterfaces:

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

ctn
net.minecraft.world.entity.vehicle.AbstractBoat
net.minecraft.class_10255
net.minecraft.unmapped.C_sfpofsgc
net.minecraft.entity.vehicle.AbstractBoatEntity
net.minecraft.entity.vehicle.AbstractBoatEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
h
DATA_ID_PADDLE_LEFT
field_54448
f_cjrdzfkq
LEFT_PADDLE_MOVING
LEFT_PADDLE_MOVING
private static final EntityDataAccessor<Boolean>
i
DATA_ID_PADDLE_RIGHT
field_54449
f_wwushndf
RIGHT_PADDLE_MOVING
RIGHT_PADDLE_MOVING
private static final EntityDataAccessor<Integer>
j
DATA_ID_BUBBLE_TIME
field_54450
f_tijebdtz
BUBBLE_WOBBLE_TICKS
TICKS_IN_BUBBLES
public static final int
a
PADDLE_LEFT
field_54427
f_zdzprfaf
field_54427
LEFT_PADDLE_ID
public static final int
b
PADDLE_RIGHT
field_54445
f_onjnjwyh
field_54445
RIGHT_PADDLE_ID
private static final int
k
TIME_TO_EJECT
field_54451
f_pkxoicwx
field_54451
TIME_TO_EJECT
private static final float
l
PADDLE_SPEED
field_54452
f_qomfhzoc
NEXT_PADDLE_PHASE
PADDLE_SPEED
public static final double
c
PADDLE_SOUND_TIME
field_54446
f_prlxlupt
EMIT_SOUND_EVENT_PADDLE_ROTATION
PADDLE_ROTATION_BEFORE_SOUND
public static final int
d
BUBBLE_TIME
field_54447
f_pndaucet
field_54447
BUBBLE_TIME
private final float[]
m
paddlePositions
field_54453
f_yadskosv
paddlePhases
paddlePositions
private float
n
outOfControlTicks
field_54455
f_syncvxqb
ticksUnderwater
ticksWithoutControl
private float
o
deltaRotation
field_54456
f_jdxjqico
yawVelocity
yawDelta
private final InterpolationHandler
p
interpolation
field_55706
f_zeppatsc
interpolator
private boolean
q
inputLeft
field_54444
f_bothgwhd
pressingLeft
pressingLeft
private boolean
r
inputRight
field_54428
f_wwzuhoip
pressingRight
pressingRight
private boolean
s
inputUp
field_54429
f_mcaooiey
pressingForward
pressingForward
private boolean
t
inputDown
field_54430
f_mypnblpq
pressingBack
pressingBack
private double
u
waterLevel
field_54431
f_iuskmoji
waterLevel
waterLevel
private float
ay
landFriction
field_54432
f_lfhlovmj
nearbySlipperiness
landSlipperiness
private AbstractBoat$Status
az
status
field_54433
f_cygmrozp
location
status
private AbstractBoat$Status
aA
oldStatus
field_54434
f_hfzhydpy
lastLocation
lastStatus
private double
aB
lastYd
field_54435
f_nfnxkluj
fallVelocity
lastYVelocity
private boolean
aC
isAboveBubbleColumn
field_54436
f_ystwmady
onBubbleColumnSurface
aboveBubbleColumn
private boolean
aD
bubbleColumnDirectionIsDown
field_54437
f_mlmucedx
bubbleColumnIsDrag
bubbleColumnPullingDown
private float
aE
bubbleMultiplier
field_54438
f_ehxfmkxj
bubbleWobbleStrength
bubbleWobbleStrength
private float
aF
bubbleAngle
field_54439
f_iyeolegn
bubbleWobble
bubbleAngle
private float
aG
bubbleAngleO
field_54440
f_amqskyfy
lastBubbleWobble
lastBubbleAngle
private Leashable$LeashData
aH
leashData
field_54441
f_aikryzjk
leashData
leashData
private final Supplier<Item>
aI
dropItem
field_54442
f_isprjbvq
itemSupplier
dropItem

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)
m_busvmoue(double arg0, double arg1, double arg2)
initPosition(double x, double y, double z)
initPosition(double x, double y, double z)
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
protected void
a(akn$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
i(bwf arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
m_cjtrtfdq(C_astfners arg0)
collidesWith(Entity arg0)
collidesWith(Entity arg0)
public static boolean
a(bwf arg0, bwf arg1)
canVehicleCollide(Entity arg0, Entity arg1)
method_64486(class_1297 arg0, class_1297 arg1)
m_mnnaeauu(C_astfners arg0, C_astfners arg1)
canCollide(Entity entity, Entity other)
canCollide(Entity vehicle, Entity other)
public boolean
bM()
canBeCollidedWith()
method_30948()
m_mvydwrgl()
isCollidable()
isCollidable()
public boolean
bH()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
isPushable()
public Vec3
a(ja$a arg0, l$a arg1)
getRelativePortalPosition(Direction$Axis arg0, BlockUtil$FoundRectangle arg1)
method_30633(class_2350$class_2351 arg0, class_5459$class_5460 arg1)
m_dofvpclc(C_xpuuihxf$C_rmpfouoz arg0, C_wauhtoaq$C_tqypnjit arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
protected abstract double
b(bwi arg0)
rideHeight(EntityDimensions arg0)
method_64489(class_4048 arg0)
m_lgsgixjr(C_sszpscpo arg0)
getPassengerAttachmentY(EntityDimensions dimensions)
getPassengerAttachmentY(EntityDimensions arg0)
protected Vec3
a(bwf arg0, bwi arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
m_xwkoqqtf(C_astfners arg0, C_sszpscpo arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
public void
a(boolean arg0, iu arg1)
onAboveBubbleColumn(boolean arg0, BlockPos arg1)
method_5700(boolean arg0, class_2338 arg1)
m_rygbzimu(boolean arg0, C_hynzadkk arg1)
onBubbleColumnSurfaceCollision(boolean arg0, BlockPos arg1)
m_rygbzimu(boolean arg0, BlockPos arg1)
public void
h(bwf arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
m_ysnccdty(C_astfners arg0)
pushAwayFrom(Entity arg0)
pushAwayFrom(Entity arg0)
public void
q(float arg0)
animateHurt(float arg0)
method_5879(float arg0)
m_yndwkmtt(float arg0)
animateDamage(float arg0)
animateDamage(float arg0)
public boolean
bG()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
public InterpolationHandler
N_()
getInterpolation()
method_66233()
m_dvrgqnea()
getInterpolator()
public Direction
cP()
getMotionDirection()
method_5755()
m_egrevgdy()
getMovementDirection()
getMovementDirection()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
private void
v()
tickBubbleColumn()
method_64476()
m_ftkgpwcz()
handleBubbleColumn()
tickBubbleColumn()
protected SoundEvent
f()
getPaddleSound()
method_64494()
m_lnjejjjt()
getPaddleSound()
getPaddleSound()
public void
a(boolean arg0, boolean arg1)
setPaddleState(boolean arg0, boolean arg1)
method_64490(boolean arg0, boolean arg1)
m_utyeknxp(boolean arg0, boolean arg1)
setPaddlesMoving(boolean left, boolean right)
setPaddleState(boolean leftMoving, boolean rightMoving)
public float
a(int arg0, float arg1)
getRowingTime(int arg0, float arg1)
method_64485(int arg0, float arg1)
m_ywqzsnln(int arg0, float arg1)
lerpPaddlePhase(int paddle, float tickProgress)
lerpPaddlePosition(int paddleId, float delta)
public Leashable$LeashData
U_()
getLeashData()
method_60955()
m_hkieuyqm()
getLeashData()
getLeashData()
public void
a(bxc$a arg0)
setLeashData(Leashable$LeashData arg0)
method_60960(class_9817$class_9818 arg0)
m_lccupwok(C_gbavazgo$C_trsxpkpu arg0)
setLeashData(Leashable$LeashData arg0)
setLeashData(Leashable$LeashData arg0)
public Vec3
cT()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()
public void
b(bwf arg0, float arg1)
elasticRangeLeashBehaviour(Entity arg0, float arg1)
method_61162(class_1297 arg0, float arg1)
m_ygwjgcso(C_astfners arg0, float arg1)
applyLeashElasticity(Entity arg0, float arg1)
applyElasticRangeBehavior(Entity arg0, float arg1)
private AbstractBoat$Status
x()
getStatus()
method_64478()
m_hrckoqnv()
checkLocation()
getStatus()
public float
g()
getWaterLevelAbove()
method_64495()
m_iahkjlsd()
getWaterHeightBelow()
getWaterLevelAbove()
public float
j()
getGroundFriction()
method_64497()
m_skzmvmpb()
getNearbySlipperiness()
getLandSlipperiness()
private boolean
D()
checkInWater()
method_64479()
m_qagjvlin()
checkBoatInWater()
checkInWater()
private AbstractBoat$Status
E()
isUnderwater()
method_64480()
m_jasfzqqw()
getUnderWaterLocation()
getUnderWaterStatus()
protected double
bd()
getDefaultGravity()
method_7490()
m_pvspcngk()
getGravity()
getDefaultGravity()
private void
F()
floatBoat()
method_64481()
m_gxbcpqmg()
updateVelocity()
updateMovement()
private void
G()
controlBoat()
method_64482()
m_djyqlddr()
updatePaddles()
updateControls()
protected float
m()
getSinglePassengerXOffset()
method_64499()
m_vcitzkrx()
getPassengerHorizontalOffset()
getSinglePassengerXOffset()
public boolean
b(bwf arg0)
hasEnoughSpaceFor(Entity arg0)
method_64488(class_1297 arg0)
m_fywslodz(C_astfners arg0)
isSmallerThanBoat(Entity entity)
canFit(Entity entity)
protected void
a(bwf arg0, bwf$b arg1)
positionRider(Entity arg0, Entity$MoveFunction arg1)
method_5865(class_1297 arg0, class_1297$class_4738 arg1)
m_gwusjpmx(C_astfners arg0, C_astfners$C_aobkcgmf arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
public Vec3
b(bxe arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
m_uoqfuwph(C_usxaxydn arg0)
updatePassengerForDismount(LivingEntity arg0)
updatePassengerForDismount(LivingEntity arg0)
protected void
c(bwf arg0)
clampRotation(Entity arg0)
method_64492(class_1297 arg0)
m_ysehfimn(C_astfners arg0)
clampPassengerYaw(Entity passenger)
clampPassengerYaw(Entity entity)
public void
k(bwf arg0)
onPassengerTurned(Entity arg0)
method_5644(class_1297 arg0)
m_ymnjzyng(C_astfners arg0)
onPassengerLookAround(Entity arg0)
onPassengerLookAround(Entity arg0)
protected void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
public InteractionResult
a(crc arg0, buc arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
m_fdhoudpd(C_jzrpycqo arg0, C_laxmzoqs arg1)
interact(PlayerEntity arg0, Hand arg1)
interact(PlayerEntity arg0, Hand arg1)
public void
a(bwf$e arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
m_jvhgezub(C_astfners$C_emmohndu arg0)
remove(Entity$RemovalReason arg0)
remove(Entity$RemovalReason arg0)
protected void
a(double arg0, boolean arg1, eah arg2, iu arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
m_cckfyxyf(double arg0, boolean arg1, C_txtbiemp arg2, C_hynzadkk arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public boolean
c(int arg0)
getPaddleState(int arg0)
method_64491(int arg0)
m_qrbwkizc(int arg0)
isPaddleMoving(int paddle)
isPaddleMoving(int paddleId)
private void
m(int arg0)
setBubbleTime(int arg0)
method_64496(int arg0)
m_kklgcuav(int arg0)
setBubbleWobbleTicks(int bubbleWobbleTicks)
setTicksInBubbles(int i)
private int
K()
getBubbleTime()
method_64483()
m_lalhbsfb()
getBubbleWobbleTicks()
getTicksInBubbles()
public float
a(float arg0)
getBubbleAngle(float arg0)
method_64484(float arg0)
m_bzrtpiib(float arg0)
lerpBubbleWobble(float tickProgress)
lerpBubbleWobble(float delta)
protected boolean
r(bwf arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
m_wkqvrgdz(C_astfners arg0)
canAddPassenger(Entity arg0)
canAddPassenger(Entity arg0)
protected int
n()
getMaxPassengers()
method_64500()
m_ctquuefr()
getMaxPassengers()
getMaxPassengers()
public LivingEntity
cW()
getControllingPassenger()
method_5642()
m_cvqrfbej()
getControllingPassenger()
getPrimaryPassenger()
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)
m_wdzivrij(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack)
setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack)
public boolean
bn()
isUnderWater()
method_5869()
m_bqujtsnz()
isSubmergedInWater()
isSubmergedInWater()
protected final Item
o()
getDropItem()
method_7557()
m_wotxlatt()
asItem()
asItem()
public final ItemStack
dI()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()