net.minecraft.world.entity.vehicle

public class Boat

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

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

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
f
DATA_ID_HURT
field_7688
f_kpgbklcm
DAMAGE_WOBBLE_TICKS
DAMAGE_WOBBLE_TICKS
f_38282_
private static final EntityDataAccessor<Integer>
ao
DATA_ID_HURTDIR
field_7707
f_dnfabqzz
DAMAGE_WOBBLE_SIDE
DAMAGE_WOBBLE_SIDE
f_38283_
private static final EntityDataAccessor<Float>
ap
DATA_ID_DAMAGE
field_7705
f_gbhslpfh
DAMAGE_WOBBLE_STRENGTH
DAMAGE_WOBBLE_STRENGTH
f_38284_
private static final EntityDataAccessor<Integer>
aq
DATA_ID_TYPE
field_7698
f_bvvqhrku
BOAT_TYPE
BOAT_TYPE
f_38285_
private static final EntityDataAccessor<Boolean>
ar
DATA_ID_PADDLE_LEFT
field_7687
f_yopjabro
LEFT_PADDLE_MOVING
LEFT_PADDLE_MOVING
f_38286_
private static final EntityDataAccessor<Boolean>
as
DATA_ID_PADDLE_RIGHT
field_7713
f_xjuvwcqb
RIGHT_PADDLE_MOVING
RIGHT_PADDLE_MOVING
f_38287_
private static final EntityDataAccessor<Integer>
at
DATA_ID_BUBBLE_TIME
field_7691
f_ivqlskgm
BUBBLE_WOBBLE_TICKS
BUBBLE_WOBBLE_TICKS
f_38262_
public static final int
b
PADDLE_LEFT
field_30697
f_hpksfvah
field_30697
PADDLE_LEFT
f_150268_
public static final int
c
PADDLE_RIGHT
field_30698
f_zmjdsmmp
field_30698
PADDLE_RIGHT
f_150269_
private static final int
au
TIME_TO_EJECT
field_30695
f_sbrsivqn
field_30695
TIME_TO_EJECT_TICKS
f_150266_
private static final float
av
PADDLE_SPEED
field_30696
f_evvwmvpm
NEXT_PADDLE_PHASE
PADDLE_SPEED
f_150267_
public static final double
d
PADDLE_SOUND_TIME
field_30699
f_drmmjgbq
EMIT_SOUND_EVENT_PADDLE_ROTATION
PADDLE_SOUND_SECONDS
f_150270_
public static final int
e
BUBBLE_TIME
field_30700
f_fgsbhyeb
field_30700
BUBBLE_TIME_TICKS
f_150271_
private final float[]
aw
paddlePositions
field_7704
f_zoaxgakk
paddlePhases
paddlePhases
f_38263_
private float
ax
invFriction
field_7692
f_vhymeias
velocityDecay
velocityDecay
f_38264_
private float
ay
outOfControlTicks
field_7706
f_jgunhycm
ticksUnderwater
ticksUnderwater
f_38265_
private float
az
deltaRotation
field_7690
f_hhiptjho
yawVelocity
yawVelocity
f_38266_
private int
aA
lerpSteps
field_7708
f_vlxvyqxt
field_7708
lerpSteps
f_38267_
private double
aB
lerpX
field_7686
f_fabcisfn
x
x
f_38268_
private double
aC
lerpY
field_7700
f_jpsxxmki
y
y
f_38269_
private double
aD
lerpZ
field_7685
f_mavldovk
z
z
f_38270_
private double
aE
lerpYRot
field_7699
f_odtguolr
boatYaw
boatYaw
f_38271_
private double
aF
lerpXRot
field_7684
f_vnhyrife
boatPitch
boatPitch
f_38272_
private boolean
aG
inputLeft
field_7710
f_cqovsjfd
pressingLeft
pressingLeft
f_38273_
private boolean
aH
inputRight
field_7695
f_ywwffcmd
pressingRight
pressingRight
f_38274_
private boolean
aI
inputUp
field_7709
f_fordbbty
pressingForward
pressingForward
f_38275_
private boolean
aJ
inputDown
field_7693
f_cswmhrlg
pressingBack
pressingBack
f_38276_
private double
aK
waterLevel
field_7697
f_aehqikwc
waterLevel
waterLevel
f_38277_
private float
aL
landFriction
field_7714
f_nshqodnw
nearbySlipperiness
landFriction
f_38278_
private Boat$Status
aM
status
field_7702
f_brsrwydq
location
location
f_38279_
private Boat$Status
aN
oldStatus
field_7701
f_unahukdz
lastLocation
lastLocation
f_38280_
private double
aO
lastYd
field_7696
f_rspsbzff
fallVelocity
fallVelocity
f_38281_
private boolean
aP
isAboveBubbleColumn
field_7689
f_wqsjbtcx
onBubbleColumnSurface
onBubbleColumnSurface
f_38257_
private boolean
aQ
bubbleColumnDirectionIsDown
field_7703
f_yqrohltt
bubbleColumnIsDrag
bubbleColumnIsDrag
f_38258_
private float
aR
bubbleMultiplier
field_7712
f_xrvflipu
bubbleWobbleStrength
bubbleWobbleStrength
f_38259_
private float
aS
bubbleAngle
field_7694
f_alxmmeec
bubbleWobble
bubbleWobble
f_38260_
private float
aT
bubbleAngleO
field_7711
f_caqrdywi
lastBubbleWobble
lastBubbleWobble
f_38261_

Constructor summary

ModifierConstructor
public (EntityType<? extends Boat> p_38291_, Level arg1)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected float
a(bco arg0, bbo arg1)
getEyeHeight(Pose arg0, EntityDimensions arg1)
method_18378(class_4050 arg0, class_4048 arg1)
m_mfupgmuw(C_ufdjspmk arg0, C_sszpscpo arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6380_(C_535_ p_38328_, C_510_ arg1)
protected Entity$MovementEmission
aO()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
m_142319_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public boolean
h(bbn 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(bbn arg0, bbn arg1)
canVehicleCollide(Entity arg0, Entity arg1)
method_30959(class_1297 arg0, class_1297 arg1)
m_ttullqty(C_astfners arg0, C_astfners arg1)
canCollide(Entity entity, Entity other)
canCollide(Entity entity, Entity other)
m_38323_(C_507_ p_38324_, C_507_ p_38325_)
public boolean
bq()
canBeCollidedWith()
method_30948()
m_mvydwrgl()
isCollidable()
isCollidable()
m_5829_()
public boolean
bl()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
isPushable()
m_6094_()
protected Vec3
a(gy$a arg0, n$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_4689_ p_38336_, C_4778_ arg1)
public double
bt()
getPassengersRidingOffset()
method_5621()
m_kkphuyzb()
getMountedHeightOffset()
getMountedHeightOffset()
m_6048_()
public boolean
a(baw arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_38320_, float arg1)
protected void
a(baw arg0)
destroy(DamageSource arg0)
method_42279(class_1282 arg0)
m_oecwpwmm(C_sbxfkpyv arg0)
dropItems(DamageSource source)
dropItems(DamageSource damageSource)
m_213560_(C_489_ arg0)
public void
k(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
g(bbn 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 Item
h()
getDropItem()
method_7557()
m_zrotxegv()
asItem()
asItem()
m_38369_()
public void
bD()
animateHurt()
method_5879()
m_yndwkmtt()
animateDamage()
animateDamage()
m_6053_()
public boolean
bk()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_6453_(double p_38300_, double p_38302_, double p_38304_, float arg3, float arg4, int arg5, boolean arg6)
public Direction
cw()
getMotionDirection()
method_5755()
m_egrevgdy()
getMovementDirection()
getMovementDirection()
m_6374_()
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private void
u()
tickBubbleColumn()
method_7550()
m_cjzujthp()
handleBubbleColumn()
handleBubbleColumn()
m_38388_()
protected SoundEvent
i()
getPaddleSound()
method_7537()
m_ecdvyvts()
getPaddleSoundEvent()
getPaddleSoundEvent()
m_38370_()
private void
w()
tickLerp()
method_7555()
m_txptnqba()
updatePositionAndRotation()
lerpTick()
m_38391_()
public void
a(boolean arg0, boolean arg1)
setPaddleState(boolean arg0, boolean arg1)
method_7538(boolean arg0, boolean arg1)
m_hyztdyla(boolean arg0, boolean arg1)
setPaddleMovings(boolean leftMoving, boolean rightMoving)
setPaddleMovings(boolean leftMoving, boolean rightMoving)
m_38339_(boolean p_38341_, boolean arg1)
public float
a(int arg0, float arg1)
getRowingTime(int arg0, float arg1)
method_7551(int arg0, float arg1)
m_vvcxeafh(int arg0, float arg1)
interpolatePaddlePhase(int paddle, float tickDelta)
interpolatePaddlePhase(int paddle, float tickDelta)
m_38315_(int p_38317_, float arg1)
private Boat$Status
x()
getStatus()
method_7552()
m_xwvweinm()
checkLocation()
checkLocation()
m_38392_()
public float
j()
getWaterLevelAbove()
method_7544()
m_ukuqkstu()
getWaterHeightBelow()
getWaterLevelAbove()
m_38371_()
public float
l()
getGroundFriction()
method_7548()
m_vojylmpn()
getNearbySlipperiness()
getGroundFriction()
m_38377_()
private boolean
y()
checkInWater()
method_7545()
m_tikylhyj()
checkBoatInWater()
checkBoatInWater()
m_38393_()
private Boat$Status
z()
isUnderwater()
method_7532()
m_wchoyhkz()
getUnderWaterLocation()
getUnderWaterLocation()
m_38394_()
private void
A()
floatBoat()
method_7534()
m_igxabfge()
updateVelocity()
updateVelocity()
m_38395_()
private void
C()
controlBoat()
method_7549()
m_fungjxef()
updatePaddles()
updatePaddles()
m_38396_()
protected float
n()
getSinglePassengerXOffset()
method_42280()
m_wimbgplz()
getPassengerHorizontalOffset()
getSinglePassengerXOffset()
m_213802_()
public void
i(bbn arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
m_pnapxqoc(C_astfners arg0)
updatePassengerPosition(Entity arg0)
updatePassengerPosition(Entity arg0)
m_7332_(C_507_ arg0)
public Vec3
b(bcc 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
a(bbn arg0)
clampRotation(Entity arg0)
method_7546(class_1297 arg0)
m_nijfolhc(C_astfners arg0)
copyEntityData(Entity entity)
copyEntityData(Entity entity)
m_38321_(C_507_ arg0)
public void
j(bbn 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(pj 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(pj 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(buc arg0, bai 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_38331_, C_470_ arg1)
protected void
a(double arg0, boolean arg1, cvo arg2, gt 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_38308_, boolean p_38310_, C_2064_ arg2, C_4675_ arg3)
public boolean
c(int arg0)
getPaddleState(int arg0)
method_7556(int arg0)
m_teavnubq(int arg0)
isPaddleMoving(int paddle)
isPaddleMoving(int paddle)
m_38313_(int arg0)
public void
a(float arg0)
setDamage(float arg0)
method_7542(float arg0)
m_meonemfl(float arg0)
setDamageWobbleStrength(float wobbleStrength)
setDamageWobbleStrength(float wobbleStrength)
m_38311_(float arg0)
public float
o()
getDamage()
method_7554()
m_nolednfg()
getDamageWobbleStrength()
getDamageWobbleStrength()
m_38384_()
public void
d(int arg0)
setHurtTime(int arg0)
method_7553(int arg0)
m_pkbdfjnn(int arg0)
setDamageWobbleTicks(int wobbleTicks)
setDamageWobbleTicks(int wobbleTicks)
m_38354_(int arg0)
public int
q()
getHurtTime()
method_7533()
m_lsvizwmr()
getDamageWobbleTicks()
getDamageWobbleTicks()
m_38385_()
private void
a(int arg0)
setBubbleTime(int arg0)
method_7531(int arg0)
m_erwgiiba(int arg0)
setBubbleWobbleTicks(int wobbleTicks)
setBubbleWobbleTicks(int wobbleTicks)
m_38366_(int arg0)
private int
D()
getBubbleTime()
method_7539()
m_qktgsogx()
getBubbleWobbleTicks()
getBubbleWobbleTicks()
m_38397_()
public float
b(float arg0)
getBubbleAngle(float arg0)
method_7547(float arg0)
m_imhmsbbl(float arg0)
interpolateBubbleWobble(float tickDelta)
interpolateBubbleWobble(float tickDelta)
m_38352_(float arg0)
public void
m(int arg0)
setHurtDir(int arg0)
method_7540(int arg0)
m_kcsyhkhj(int arg0)
setDamageWobbleSide(int side)
setDamageWobbleSide(int side)
m_38362_(int arg0)
public int
r()
getHurtDir()
method_7543()
m_ztgkeriq()
getDamageWobbleSide()
getDamageWobbleSide()
m_38386_()
public void
a(bvv$b arg0)
setType(Boat$Type arg0)
method_7541(class_1690$class_1692 arg0)
m_iiteenug(C_mpfuowct$C_jyahrrif arg0)
setBoatType(BoatEntity$Type type)
setBoatType(BoatEntity$Type type)
m_38332_(C_1208_ arg0)
public Boat$Type
s()
getBoatType()
method_7536()
m_pejxhjyx()
getBoatType()
getBoatType()
m_38387_()
protected boolean
o(bbn 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_42281()
m_anvxehoq()
getMaxPassengers()
getMaxPassengers()
m_213801_()
public Entity
cG()
getControllingPassenger()
method_5642()
m_cvqrfbej()
getPrimaryPassenger()
getPrimaryPassenger()
m_6688_()
public void
a(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
setInput(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
method_7535(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
m_txvphllp(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_38342_(boolean p_38344_, boolean p_38345_, boolean p_38346_, boolean arg3)
public Packet<?>
S()
getAddEntityPacket()
method_18002()
m_tugxrexj()
createSpawnPacket()
createSpawnPacket()
m_5654_()
public boolean
aV()
isUnderWater()
method_5869()
m_bqujtsnz()
isSubmergedInWater()
isSubmergedInWater()
m_5842_()
public ItemStack
dn()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()
m_142340_()