net.minecraft.entity.vehicle

public class BoatEntity

extends VehicleEntity implements Leashable, VariantHolder<BoatEntity$Type>

All mapped superinterfaces:

DataTracked, Nameable, EntityLike, CommandOutput, ScoreHolder, Leashable, VariantHolder

cov
net.minecraft.world.entity.vehicle.Boat
net.minecraft.class_1690
net.minecraft.entity.vehicle.BoatEntity
net.minecraft.unmapped.C_mpfuowct
net.minecraft.entity.vehicle.BoatEntity
net.minecraft.src.C_1205_

Field summary

Modifier and TypeField
private static final TrackedData<Integer>
i
DATA_ID_TYPE
field_7698
BOAT_TYPE
f_bvvqhrku
BOAT_VARIANT
f_38285_
private static final TrackedData<Boolean>
j
DATA_ID_PADDLE_LEFT
field_7687
LEFT_PADDLE_MOVING
f_yopjabro
LEFT_PADDLE_MOVING
f_38286_
private static final TrackedData<Boolean>
k
DATA_ID_PADDLE_RIGHT
field_7713
RIGHT_PADDLE_MOVING
f_xjuvwcqb
RIGHT_PADDLE_MOVING
f_38287_
private static final TrackedData<Integer>
l
DATA_ID_BUBBLE_TIME
field_7691
BUBBLE_WOBBLE_TICKS
f_ivqlskgm
BUBBLE_WOBBLE_TICKS
f_38262_
public static final int
b
PADDLE_LEFT
field_30697
field_30697
f_hpksfvah
PADDLE_LEFT
f_150268_
public static final int
c
PADDLE_RIGHT
field_30698
field_30698
f_zmjdsmmp
PADDLE_RIGHT
f_150269_
private static final int
m
TIME_TO_EJECT
field_30695
field_30695
f_sbrsivqn
TIME_TO_EJECT_TICKS
f_150266_
private static final float
n
PADDLE_SPEED
field_30696
NEXT_PADDLE_PHASE
f_evvwmvpm
PADDLE_SPEED
f_150267_
public static final double
d
PADDLE_SOUND_TIME
field_30699
EMIT_SOUND_EVENT_PADDLE_ROTATION
f_drmmjgbq
PADDLE_SOUND_SECONDS
f_150270_
public static final int
e
BUBBLE_TIME
field_30700
field_30700
f_fgsbhyeb
BUBBLE_TIME_TICKS
f_150271_
private final float[]
o
paddlePositions
field_7704
paddlePhases
f_zoaxgakk
paddlePhases
f_38263_
private float
p
invFriction
field_7692
velocityDecay
f_vhymeias
velocityDecay
f_38264_
private float
q
outOfControlTicks
field_7706
ticksUnderwater
f_jgunhycm
ticksUnderwater
f_38265_
private float
r
deltaRotation
field_7690
yawVelocity
f_hhiptjho
yawVelocity
f_38266_
private int
s
lerpSteps
field_7708
lerpTicks
f_vlxvyqxt
lerpSteps
f_38267_
private double
t
lerpX
field_7686
x
f_fabcisfn
x
f_38268_
private double
u
lerpY
field_7700
y
f_jpsxxmki
y
f_38269_
private double
v
lerpZ
field_7685
z
f_mavldovk
z
f_38270_
private double
aD
lerpYRot
field_7699
boatYaw
f_odtguolr
boatYaw
f_38271_
private double
aE
lerpXRot
field_7684
boatPitch
f_vnhyrife
boatPitch
f_38272_
private boolean
aF
inputLeft
field_7710
pressingLeft
f_cqovsjfd
pressingLeft
f_38273_
private boolean
aG
inputRight
field_7695
pressingRight
f_ywwffcmd
pressingRight
f_38274_
private boolean
aH
inputUp
field_7709
pressingForward
f_fordbbty
pressingForward
f_38275_
private boolean
aI
inputDown
field_7693
pressingBack
f_cswmhrlg
pressingBack
f_38276_
private double
aJ
waterLevel
field_7697
waterLevel
f_aehqikwc
waterLevel
f_38277_
private float
aK
landFriction
field_7714
nearbySlipperiness
f_nshqodnw
groundFriction
f_38278_
private BoatEntity$Location
aL
status
field_7702
location
f_brsrwydq
location
f_38279_
private BoatEntity$Location
aM
oldStatus
field_7701
lastLocation
f_unahukdz
lastLocation
f_38280_
private double
aN
lastYd
field_7696
fallVelocity
f_rspsbzff
fallVelocity
f_38281_
private boolean
aO
isAboveBubbleColumn
field_7689
onBubbleColumnSurface
f_wqsjbtcx
onBubbleColumnSurface
f_38257_
private boolean
aP
bubbleColumnDirectionIsDown
field_7703
bubbleColumnIsDrag
f_yqrohltt
bubbleColumnIsDrag
f_38258_
private float
aQ
bubbleMultiplier
field_7712
bubbleWobbleStrength
f_xrvflipu
bubbleWobbleStrength
f_38259_
private float
aR
bubbleAngle
field_7694
bubbleWobble
f_alxmmeec
bubbleWobble
f_38260_
private float
aS
bubbleAngleO
field_7711
lastBubbleWobble
f_caqrdywi
lastBubbleWobble
f_38261_
private Leashable$LeashData
aT
leashData
field_52225
leashData
f_wdqaxbvk
leashData
f_336799_

Constructor summary

ModifierConstructor
public (EntityType<? extends BoatEntity> p_38291_, World world)
public (World world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected Entity$MoveEffect
bc()
getMovementEmission()
method_33570()
getMoveEffect()
m_dxohridw()
getMoveEffect()
m_142319_()
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
i(bsr arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
collidesWith(Entity arg0)
m_cjtrtfdq(C_astfners arg0)
collidesWith(Entity arg0)
m_7337_(C_507_ arg0)
public static boolean
a(bsr o, bsr o)
canVehicleCollide(Entity arg0, Entity arg1)
method_30959(class_1297 arg0, class_1297 arg1)
canCollide(Entity entity, Entity other)
m_ttullqty(C_astfners arg0, C_astfners arg1)
canCollide(Entity entity, Entity other)
m_38323_(C_507_ p_38324_, C_507_ p_38325_)
public boolean
bG()
canBeCollidedWith()
method_30948()
isCollidable()
m_mvydwrgl()
isCollidable()
m_5829_()
public boolean
bB()
isPushable()
method_5810()
isPushable()
m_okzqpkgv()
isPushable()
m_6094_()
public Vec3d
a(ji$a o, l$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)
m_dofvpclc(C_xpuuihxf$C_rmpfouoz arg0, C_wauhtoaq$C_tqypnjit arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
m_7643_(C_4687_$C_4689_ p_38336_, C_4777_$C_4778_ arg1)
protected Vec3d
a(bsr o, bsu o, 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)
m_xwkoqqtf(C_astfners arg0, C_sszpscpo arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_293035_(C_507_ p_299244_, C_510_ p_298802_, float arg2)
public void
l(boolean arg0)
onAboveBubbleCol(boolean arg0)
method_5700(boolean arg0)
onBubbleColumnSurfaceCollision(boolean arg0)
m_nnymqfux(boolean arg0)
onBubbleColumnSurfaceCollision(boolean arg0)
m_6845_(boolean arg0)
public void
h(bsr arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_ysnccdty(C_astfners arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
public Item
ak_()
getDropItem()
method_7557()
asItem()
m_wotxlatt()
asItem()
m_38369_()
public void
n(float arg0)
animateHurt(float arg0)
method_5879(float arg0)
animateDamage(float arg0)
m_yndwkmtt(float arg0)
animateDamage(float arg0)
m_6053_(float arg0)
public boolean
bA()
isPickable()
method_5863()
canHit()
m_bzveerey()
collides()
m_6087_()
public void
a(double o, double o, double o, 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)
updateTrackedPositionAndAngles(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)
m_6453_(double p_38300_, double p_38302_, double p_38304_, float arg3, float arg4, int arg5)
public double
c_()
lerpTargetX()
method_53830()
getLerpTargetX()
m_dzufvcbo()
getLerpTargetX()
m_293268_()
public double
d_()
lerpTargetY()
method_53827()
getLerpTargetY()
m_luuqxfqy()
getLerpTargetY()
m_293950_()
public double
P_()
lerpTargetZ()
method_53828()
getLerpTargetZ()
m_oagnumwt()
getLerpTargetZ()
m_292720_()
public float
Q_()
lerpTargetXRot()
method_53829()
getLerpTargetPitch()
m_gakqenyv()
getLerpTargetPitch()
m_293123_()
public float
e_()
lerpTargetYRot()
method_53831()
getLerpTargetYaw()
m_jnzyorkg()
getLerpTargetYaw()
m_293582_()
public Direction
cI()
getMotionDirection()
method_5755()
getMovementDirection()
m_egrevgdy()
getMovementDirection()
m_6374_()
public void
l()
tick()
method_5773()
tick()
m_arkgrfeb()
tick()
m_8119_()
private void
B()
tickBubbleColumn()
method_7550()
handleBubbleColumn()
m_cjzujthp()
handleBubbleColumn()
m_38388_()
protected SoundEvent
s()
getPaddleSound()
method_7537()
getPaddleSoundEvent()
m_ecdvyvts()
getPaddleSoundEvent()
m_38370_()
private void
C()
tickLerp()
method_7555()
updatePositionAndRotation()
m_txptnqba()
lerpTick()
m_38391_()
public void
b(boolean o, boolean arg1)
setPaddleState(boolean arg0, boolean arg1)
method_7538(boolean arg0, boolean arg1)
setPaddleMovings(boolean leftMoving, boolean rightMoving)
m_hyztdyla(boolean arg0, boolean arg1)
setPaddleMovings(boolean leftMoving, boolean rightMoving)
m_38339_(boolean p_38341_, boolean arg1)
public float
a(int o, float arg1)
getRowingTime(int arg0, float arg1)
method_7551(int arg0, float arg1)
interpolatePaddlePhase(int paddle, float tickDelta)
m_vvcxeafh(int arg0, float arg1)
interpolatePaddlePhase(int paddle, float tickDelta)
m_38315_(int p_38317_, float arg1)
public Leashable$LeashData
X_()
getLeashData()
method_60955()
getLeashData()
m_hkieuyqm()
getLeashData()
m_338492_()
public void
a(btk$a arg0)
setLeashData(Leashable$LeashData arg0)
method_60960(class_9817$class_9818 arg0)
setLeashData(Leashable$LeashData arg0)
m_lccupwok(C_gbavazgo$C_trsxpkpu arg0)
setLeashData(Leashable$LeashData arg0)
m_338401_(C_336597_$C_336538_ arg0)
public Vec3d
cM()
getLeashOffset()
method_29919()
getLeashOffset()
m_gxfczhkq()
getLeashOffset()
m_7939_()
public void
b(bsr o, float arg1)
elasticRangeLeashBehaviour(Entity arg0, float arg1)
method_61162(class_1297 arg0, float arg1)
applyLeashElasticity(Entity arg0, float arg1)
m_ygwjgcso(C_astfners arg0, float arg1)
applyElasticRangeBehavior(Entity arg0, float arg1)
m_338435_(C_507_ p_343836_, float arg1)
private BoatEntity$Location
D()
getStatus()
method_7552()
checkLocation()
m_xwvweinm()
updateLocation()
m_38392_()
public float
t()
getWaterLevelAbove()
method_7544()
getWaterHeightBelow()
m_ukuqkstu()
getWaterLevelAbove()
m_38371_()
public float
v()
getGroundFriction()
method_7548()
getNearbySlipperiness()
m_vojylmpn()
getGroundFriction()
m_38377_()
private boolean
E()
checkInWater()
method_7545()
checkBoatInWater()
m_tikylhyj()
isInWater()
m_38393_()
private BoatEntity$Location
H()
isUnderwater()
method_7532()
getUnderWaterLocation()
m_wchoyhkz()
getUnderWaterLocation()
m_38394_()
protected double
aZ()
getDefaultGravity()
method_7490()
getGravity()
m_pvspcngk()
getDefaultGravity()
m_319564_()
private void
I()
floatBoat()
method_7534()
updateVelocity()
m_igxabfge()
updateVelocity()
m_38395_()
private void
J()
controlBoat()
method_7549()
updatePaddles()
m_fungjxef()
updatePaddles()
m_38396_()
protected float
w()
getSinglePassengerXOffset()
method_42280()
getPassengerHorizontalOffset()
m_wimbgplz()
getSinglePassengerXOffset()
m_213802_()
public boolean
c(bsr arg0)
hasEnoughSpaceFor(Entity arg0)
method_49182(class_1297 arg0)
isSmallerThanBoat(Entity entity)
m_qeorwrdg(C_astfners arg0)
fits(Entity entity)
m_271938_(C_507_ arg0)
protected void
a(bsr o, bsr$a arg1)
positionRider(Entity arg0, Entity$MoveFunction arg1)
method_5865(class_1297 arg0, class_1297$class_4738 arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
m_gwusjpmx(C_astfners arg0, C_astfners$C_aobkcgmf arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
m_19956_(C_507_ p_289571_, C_507_$C_509_ arg1)
public Vec3d
b(btn arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
m_uoqfuwph(C_usxaxydn arg0)
updatePassengerForDismount(LivingEntity arg0)
m_7688_(C_524_ arg0)
protected void
d(bsr arg0)
clampRotation(Entity arg0)
method_7546(class_1297 arg0)
clampPassengerYaw(Entity passenger)
m_nijfolhc(C_astfners arg0)
copyEntityData(Entity entity)
m_38321_(C_507_ arg0)
public void
k(bsr arg0)
onPassengerTurned(Entity arg0)
method_5644(class_1297 arg0)
onPassengerLookAround(Entity arg0)
m_ymnjzyng(C_astfners arg0)
onPassengerLookAround(Entity arg0)
m_7340_(C_507_ arg0)
protected void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public ActionResult
a(cmx o, bqq arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
m_fdhoudpd(C_jzrpycqo arg0, C_laxmzoqs arg1)
interact(PlayerEntity arg0, Hand arg1)
m_6096_(C_1141_ p_38331_, C_470_ arg1)
public void
a(bsr$c arg0)
remove(Entity$RemovalReason arg0)
method_5650(class_1297$class_5529 arg0)
remove(Entity$RemovalReason arg0)
m_jvhgezub(C_astfners$C_emmohndu arg0)
remove(Entity$RemovalReason arg0)
m_142687_(C_507_$C_141065_ arg0)
protected void
a(double o, boolean o, dtc arg2, jd 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)
m_cckfyxyf(double arg0, boolean arg1, C_txtbiemp arg2, C_hynzadkk arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
m_7840_(double p_38308_, boolean p_38310_, C_2064_ arg2, C_4675_ arg3)
public boolean
c(int arg0)
getPaddleState(int arg0)
method_7556(int arg0)
isPaddleMoving(int paddle)
m_teavnubq(int arg0)
isPaddleMoving(int paddle)
m_38313_(int arg0)
private void
b(int arg0)
setBubbleTime(int arg0)
method_7531(int arg0)
setBubbleWobbleTicks(int wobbleTicks)
m_erwgiiba(int arg0)
setBubbleWobbleTicks(int wobbleTicks)
m_38366_(int arg0)
private int
K()
getBubbleTime()
method_7539()
getBubbleWobbleTicks()
m_qktgsogx()
getBubbleWobbleTicks()
m_38397_()
public float
a(float arg0)
getBubbleAngle(float arg0)
method_7547(float arg0)
interpolateBubbleWobble(float tickDelta)
m_imhmsbbl(float arg0)
interpolateBubbleWobble(float tickDelta)
m_38352_(float arg0)
public void
a(cov$b arg0)
setVariant(Boat$Type arg0)
method_47884(class_1690$class_1692 arg0)
setVariant(BoatEntity$Type arg0)
m_nljtlbsv(C_mpfuowct$C_jyahrrif arg0)
setVariant(BoatEntity$Variant arg0)
m_28464_(C_1205_$C_1208_ arg0)
public BoatEntity$Type
x()
getVariant()
method_47885()
getVariant()
m_jnfmrhou()
getVariant()
m_28554_()
protected boolean
r(bsr arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_wkqvrgdz(C_astfners arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
protected int
F()
getMaxPassengers()
method_42281()
getMaxPassengers()
m_anvxehoq()
getMaxPassengers()
m_213801_()
public LivingEntity
cQ()
getControllingPassenger()
method_5642()
getControllingPassenger()
m_cvqrfbej()
getPrimaryPassenger()
m_6688_()
public void
a(boolean o, boolean o, boolean o, boolean arg3)
setInput(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
method_7535(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack)
m_txvphllp(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack)
m_38342_(boolean p_38344_, boolean p_38345_, boolean p_38346_, boolean arg3)
protected Text
cs()
getTypeName()
method_23315()
getDefaultName()
m_jvbeeoym()
getDefaultName()
m_5677_()
public boolean
bk()
isUnderWater()
method_5869()
isSubmergedInWater()
m_bqujtsnz()
isSubmergedInWater()
m_5842_()
public ItemStack
dB()
getPickResult()
method_31480()
getPickBlockStack()
m_lyxnmous()
getPickBlockStack()
m_142340_()