net.minecraft.world.entity.vehicle

public abstract class AbstractBoat

extends VehicleEntity implements Leashable

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Leashable

cru
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
net.minecraft.src.C_346117_
net.minecraft.world.entity.vehicle.AbstractBoat

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
f_346903_
private static final EntityDataAccessor<Boolean>
i
DATA_ID_PADDLE_RIGHT
field_54449
f_wwushndf
RIGHT_PADDLE_MOVING
RIGHT_PADDLE_MOVING
f_347067_
private static final EntityDataAccessor<Integer>
j
DATA_ID_BUBBLE_TIME
field_54450
f_tijebdtz
BUBBLE_WOBBLE_TICKS
TICKS_IN_BUBBLES
f_348656_
public static final int
a
PADDLE_LEFT
field_54427
f_zdzprfaf
field_54427
LEFT_PADDLE_ID
f_349560_
public static final int
b
PADDLE_RIGHT
field_54445
f_onjnjwyh
field_54445
RIGHT_PADDLE_ID
f_347160_
private static final int
k
TIME_TO_EJECT
field_54451
f_pkxoicwx
field_54451
TIME_TO_EJECT
f_346310_
private static final float
l
PADDLE_SPEED
field_54452
f_qomfhzoc
NEXT_PADDLE_PHASE
PADDLE_SPEED
f_346285_
public static final double
c
PADDLE_SOUND_TIME
field_54446
f_prlxlupt
EMIT_SOUND_EVENT_PADDLE_ROTATION
PADDLE_ROTATION_BEFORE_SOUND
f_346855_
public static final int
d
BUBBLE_TIME
field_54447
f_pndaucet
field_54447
BUBBLE_TIME
f_349437_
private final float[]
m
paddlePositions
field_54453
f_yadskosv
paddlePhases
paddlePositions
f_347301_
private float
n
invFriction
field_54454
f_zylhqtzk
velocityDecay
velocityDelta
f_349105_
private float
o
outOfControlTicks
field_54455
f_syncvxqb
ticksUnderwater
ticksWithoutControl
f_349492_
private float
p
deltaRotation
field_54456
f_jdxjqico
yawVelocity
yawDelta
f_348695_
private int
q
lerpSteps
field_54457
f_ouccwnbm
lerpTicks
lerpTicks
f_347600_
private double
r
lerpX
field_54458
f_mrlralmd
x
lerpX
f_347597_
private double
s
lerpY
field_54459
f_swicxips
y
lerpY
f_347397_
private double
t
lerpZ
field_54460
f_ndjdbuld
z
lerpZ
f_347047_
private double
u
lerpYRot
field_54461
f_usvvsxbx
boatYaw
lerpYaw
f_348718_
private double
ay
lerpXRot
field_54443
f_ipvhnymi
boatPitch
lerpPitch
f_346497_
private boolean
az
inputLeft
field_54444
f_bothgwhd
pressingLeft
pressingLeft
f_346697_
private boolean
aA
inputRight
field_54428
f_wwzuhoip
pressingRight
pressingRight
f_346941_
private boolean
aB
inputUp
field_54429
f_mcaooiey
pressingForward
pressingForward
f_346224_
private boolean
aC
inputDown
field_54430
f_mypnblpq
pressingBack
pressingBack
f_348661_
private double
aD
waterLevel
field_54431
f_iuskmoji
waterLevel
waterLevel
f_347483_
private float
aE
landFriction
field_54432
f_lfhlovmj
nearbySlipperiness
landSlipperiness
f_348566_
private AbstractBoat$Status
aF
status
field_54433
f_cygmrozp
location
status
f_346539_
private AbstractBoat$Status
aG
oldStatus
field_54434
f_hfzhydpy
lastLocation
lastStatus
f_347060_
private double
aH
lastYd
field_54435
f_nfnxkluj
fallVelocity
lastYVelocity
f_349308_
private boolean
aI
isAboveBubbleColumn
field_54436
f_ystwmady
onBubbleColumnSurface
aboveBubbleColumn
f_348070_
private boolean
aJ
bubbleColumnDirectionIsDown
field_54437
f_mlmucedx
bubbleColumnIsDrag
bubbleColumnPullingDown
f_348234_
private float
aK
bubbleMultiplier
field_54438
f_ehxfmkxj
bubbleWobbleStrength
bubbleWobbleStrength
f_349534_
private float
aL
bubbleAngle
field_54439
f_iyeolegn
bubbleWobble
bubbleAngle
f_349342_
private float
aM
bubbleAngleO
field_54440
f_amqskyfy
lastBubbleWobble
lastBubbleAngle
f_347542_
private Leashable$LeashData
aN
leashData
field_54441
f_aikryzjk
leashData
leashData
f_346778_
private final Supplier<Item>
aO
dropItem
field_54442
f_isprjbvq
itemSupplier
dropItem
f_348891_

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)
m_354516_(double p_363329_, double arg1, double arg2)
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
m_142319_()
protected void
a(alg$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)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
i(bvk arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
m_cjtrtfdq(C_astfners arg0)
collidesWith(Entity arg0)
collidesWith(Entity arg0)
m_7337_(C_507_ arg0)
public static boolean
a(bvk arg0, bvk 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)
m_353557_(C_507_ p_362540_, C_507_ p_368220_)
public boolean
bN()
canBeCollidedWith()
method_30948()
m_mvydwrgl()
isCollidable()
isCollidable()
m_5829_()
public boolean
bI()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
isPushable()
m_6094_()
public Vec3
a(jm$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)
m_7643_(C_4687_$C_4689_ p_365178_, C_4777_$C_4778_ arg1)
protected abstract double
b(bvn arg0)
rideHeight(EntityDimensions arg0)
method_64489(class_4048 arg0)
m_lgsgixjr(C_sszpscpo arg0)
getPassengerAttachmentY(EntityDimensions dimensions)
getPassengerAttachmentY(EntityDimensions dimensions)
m_352375_(C_510_ arg0)
protected Vec3
a(bvk arg0, bvn 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)
m_293035_(C_507_ p_366303_, C_510_ p_367794_, float arg2)
public void
l(boolean arg0)
onAboveBubbleCol(boolean arg0)
method_5700(boolean arg0)
m_nnymqfux(boolean arg0)
onBubbleColumnSurfaceCollision(boolean arg0)
onBubbleColumnSurfaceCollision(boolean arg0)
m_6845_(boolean arg0)
public void
h(bvk arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
m_ysnccdty(C_astfners arg0)
pushAwayFrom(Entity arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
public void
p(float arg0)
animateHurt(float arg0)
method_5879(float arg0)
m_yndwkmtt(float arg0)
animateDamage(float arg0)
animateDamage(float arg0)
m_6053_(float arg0)
public boolean
bH()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public void
f_()
cancelLerp()
method_64610()
m_lxlqiklm()
resetLerp()
cancelLerp()
m_216997_()
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_6453_(double p_361096_, double p_365907_, double p_364776_, float arg3, float arg4, int arg5)
public double
R_()
lerpTargetX()
method_53830()
m_dzufvcbo()
getLerpTargetX()
getLerpTargetX()
m_293268_()
public double
S_()
lerpTargetY()
method_53827()
m_luuqxfqy()
getLerpTargetY()
getLerpTargetY()
m_294059_()
public double
g_()
lerpTargetZ()
method_53828()
m_oagnumwt()
getLerpTargetZ()
getLerpTargetZ()
m_292720_()
public float
r_()
lerpTargetXRot()
method_53829()
m_gakqenyv()
getLerpTargetPitch()
getLerpTargetPitch()
m_293123_()
public float
h_()
lerpTargetYRot()
method_53831()
m_jnzyorkg()
getLerpTargetYaw()
getLerpTargetYaw()
m_294172_()
public Direction
cP()
getMotionDirection()
method_5755()
m_egrevgdy()
getMovementDirection()
getMovementDirection()
m_6374_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private void
D()
tickBubbleColumn()
method_64476()
m_ftkgpwcz()
handleBubbleColumn()
tickBubbleColumn()
m_354241_()
protected SoundEvent
l()
getPaddleSound()
method_64494()
m_lnjejjjt()
getPaddleSound()
getPaddleSound()
m_357308_()
private void
E()
tickLerp()
method_64477()
m_ivomcdwh()
updatePositionAndRotation()
tickLerp()
m_356537_()
public void
b(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)
m_355162_(boolean p_365347_, boolean arg1)
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 tickDelta)
lerpPaddlePosition(int paddleId, float delta)
m_353671_(int p_368779_, float arg1)
public Leashable$LeashData
T_()
getLeashData()
method_60955()
m_hkieuyqm()
getLeashData()
getLeashData()
m_338492_()
public void
a(bwe$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)
m_338401_(C_336597_$C_336538_ arg0)
public Vec3
cT()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()
m_7939_()
public void
b(bvk 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)
m_339176_(C_507_ p_361454_, float arg1)
private AbstractBoat$Status
F()
getStatus()
method_64478()
m_hrckoqnv()
checkLocation()
getStatus()
m_352217_()
public float
m()
getWaterLevelAbove()
method_64495()
m_iahkjlsd()
getWaterHeightBelow()
getWaterLevelAbove()
m_353216_()
public float
p()
getGroundFriction()
method_64497()
m_skzmvmpb()
getNearbySlipperiness()
getLandSlipperiness()
m_357116_()
private boolean
G()
checkInWater()
method_64479()
m_qagjvlin()
checkBoatInWater()
checkInWater()
m_352357_()
private AbstractBoat$Status
H()
isUnderwater()
method_64480()
m_jasfzqqw()
getUnderWaterLocation()
getUnderWaterStatus()
m_352071_()
protected double
bd()
getDefaultGravity()
method_7490()
m_pvspcngk()
getGravity()
getDefaultGravity()
m_319564_()
private void
I()
floatBoat()
method_64481()
m_gxbcpqmg()
updateVelocity()
updateMovement()
m_353385_()
private void
J()
controlBoat()
method_64482()
m_djyqlddr()
updatePaddles()
updateControls()
m_354483_()
protected float
s()
getSinglePassengerXOffset()
method_64499()
m_vcitzkrx()
getPassengerHorizontalOffset()
getSinglePassengerXOffset()
m_352050_()
public boolean
b(bvk arg0)
hasEnoughSpaceFor(Entity arg0)
method_64488(class_1297 arg0)
m_fywslodz(C_astfners arg0)
isSmallerThanBoat(Entity entity)
canFit(Entity entity)
m_354048_(C_507_ arg0)
protected void
a(bvk arg0, bvk$a 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)
m_19956_(C_507_ p_365234_, C_507_$C_509_ arg1)
public Vec3
b(bwg arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
m_uoqfuwph(C_usxaxydn arg0)
updatePassengerForDismount(LivingEntity arg0)
updatePassengerForDismount(LivingEntity arg0)
m_7688_(C_524_ arg0)
protected void
c(bvk arg0)
clampRotation(Entity arg0)
method_64492(class_1297 arg0)
m_ysehfimn(C_astfners arg0)
clampPassengerYaw(Entity passenger)
clampPassengerYaw(Entity entity)
m_355252_(C_507_ arg0)
public void
k(bvk arg0)
onPassengerTurned(Entity arg0)
method_5644(class_1297 arg0)
m_ymnjzyng(C_astfners arg0)
onPassengerLookAround(Entity arg0)
onPassengerLookAround(Entity arg0)
m_7340_(C_507_ arg0)
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public InteractionResult
a(cpx arg0, bti 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)
m_6096_(C_1141_ p_362250_, C_470_ arg1)
public void
a(bvk$d 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)
m_142687_(C_507_$C_141065_ arg0)
protected void
a(double arg0, boolean arg1, dxv arg2, jh 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)
m_7840_(double p_361999_, boolean p_367645_, C_2064_ arg2, C_4675_ arg3)
public boolean
c(int arg0)
getPaddleState(int arg0)
method_64491(int arg0)
m_qrbwkizc(int arg0)
isPaddleMoving(int paddle)
isPaddleMoving(int paddleId)
m_353661_(int arg0)
private void
m(int arg0)
setBubbleTime(int arg0)
method_64496(int arg0)
m_kklgcuav(int arg0)
setBubbleWobbleTicks(int bubbleWobbleTicks)
setTicksInBubbles(int i)
m_354688_(int arg0)
private int
K()
getBubbleTime()
method_64483()
m_lalhbsfb()
getBubbleWobbleTicks()
getTicksInBubbles()
m_354535_()
public float
a(float arg0)
getBubbleAngle(float arg0)
method_64484(float arg0)
m_bzrtpiib(float arg0)
lerpBubbleWobble(float tickDelta)
lerpBubbleWobble(float delta)
m_354708_(float arg0)
protected boolean
r(bvk arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
m_wkqvrgdz(C_astfners arg0)
canAddPassenger(Entity arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
protected int
t()
getMaxPassengers()
method_64500()
m_ctquuefr()
getMaxPassengers()
getMaxPassengers()
m_355778_()
public LivingEntity
cX()
getControllingPassenger()
method_5642()
m_cvqrfbej()
getControllingPassenger()
getPrimaryPassenger()
m_6688_()
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)
m_352699_(boolean p_363750_, boolean p_364020_, boolean p_369506_, boolean arg3)
public boolean
bo()
isUnderWater()
method_5869()
m_bqujtsnz()
isSubmergedInWater()
isSubmergedInWater()
m_5842_()
protected final Item
u()
getDropItem()
method_7557()
m_wotxlatt()
asItem()
asItem()
m_219965_()
public final ItemStack
dJ()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()
m_142340_()