net.minecraft.world.entity.vehicle

public class Boat

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

axw
net.minecraft.world.entity.vehicle.Boat
net.minecraft.class_1690
net.minecraft.entity.vehicle.BoatEntity
net.minecraft.entity.item.BoatEntity
net.minecraft.server.v1_14_R1.EntityBoat

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
b
DATA_ID_HURT
field_7688
DAMAGE_WOBBLE_TICKS
field_184460_a
private static final EntityDataAccessor<Integer>
c
DATA_ID_HURTDIR
field_7707
DAMAGE_WOBBLE_SIDE
field_184462_b
private static final EntityDataAccessor<Float>
d
DATA_ID_DAMAGE
field_7705
DAMAGE_WOBBLE_STRENGTH
field_184464_c
private static final EntityDataAccessor<Integer>
e
DATA_ID_TYPE
field_7698
BOAT_TYPE
field_184466_d
private static final EntityDataAccessor<Boolean>
f
DATA_ID_PADDLE_LEFT
field_7687
LEFT_PADDLE_MOVING
field_199704_e
private static final EntityDataAccessor<Boolean>
g
DATA_ID_PADDLE_RIGHT
field_7713
RIGHT_PADDLE_MOVING
field_199705_f
private static final EntityDataAccessor<Integer>
ar
DATA_ID_BUBBLE_TIME
field_7691
BUBBLE_WOBBLE_TICKS
field_203064_g
private final float[]
as
paddlePositions
field_7704
paddlePhases
field_184470_f
private float
at
invFriction
field_7692
velocityDecay
field_184472_g
private float
au
outOfControlTicks
field_7706
ticksUnderwater
field_184474_h
private float
av
deltaRotation
field_7690
yawVelocity
field_184475_as
private int
aw
lerpSteps
field_7708
field_184476_at
private double
ax
lerpX
field_7686
field_70281_h
private double
ay
lerpY
field_7700
field_184477_av
private double
az
lerpZ
field_7685
field_184478_aw
private double
aA
lerpYRot
field_7699
field_70273_g
private double
aB
lerpXRot
field_7684
field_184479_ay
private boolean
aC
inputLeft
field_7710
pressingLeft
field_184480_az
private boolean
aD
inputRight
field_7695
pressingRight
field_184459_aA
private boolean
aE
inputUp
field_7709
pressingForward
field_184461_aB
private boolean
aF
inputDown
field_7693
pressingBack
field_184463_aC
private double
aG
waterLevel
field_7697
waterLevel
field_184465_aD
private float
aH
landFriction
field_7714
field_184467_aE
private Boat$Status
aI
status
field_7702
location
field_184469_aF
private Boat$Status
aJ
oldStatus
field_7701
lastLocation
field_184471_aG
private double
aK
lastYd
field_7696
fallVelocity
field_184473_aH
private boolean
aL
isAboveBubbleColumn
field_7689
onBubbleColumnSurface
field_203059_aM
private boolean
aM
bubbleColumnDirectionIsDown
field_7703
bubbleColumnIsDrag
field_203060_aN
private float
aN
bubbleMultiplier
field_7712
bubbleWobbleStrength
field_203061_aO
private float
aO
bubbleAngle
field_7694
bubbleWobble
field_203062_aP
private float
aP
bubbleAngleO
field_7711
lastBubbleWobble
field_203063_aQ

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
ap()
makeStepSound()
method_5658()
canClimb()
func_70041_e_()
playStepSound()
protected void
u_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public AABB
j(aio arg0)
getCollideAgainstBox(Entity arg0)
method_5708(class_1297 arg0)
getHardCollisionBox(Entity arg0)
func_70114_g(Entity arg0)
public AABB
aq()
getCollideBox()
method_5827()
getCollisionBox()
func_70046_E()
public boolean
aI()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
public double
aP()
getRideHeight()
method_5621()
getMountedHeightOffset()
func_70042_X()
public boolean
a(ahx arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public void
j(boolean arg0)
onAboveBubbleCol(boolean arg0)
method_5700(boolean arg0)
onBubbleColumnSurfaceCollision(boolean arg0)
func_203002_i(boolean arg0)
public void
i(aio arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
func_70108_f(Entity arg0)
collide(Entity arg0)
public Item
f()
getDropItem()
method_7557()
asItem()
func_184455_j()
public boolean
aH()
isPickable()
method_5863()
collides()
func_70067_L()
isInteractable()
public Direction
bJ()
getMotionDirection()
method_5755()
getMovementDirection()
func_184172_bi()
getAdjustedDirection()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
q()
tickBubbleColumn()
method_7550()
handleBubbleColumn()
func_203057_r()
protected SoundEvent
i()
getPaddleSound()
method_7537()
getPaddleSoundEvent()
func_193047_k()
private void
r()
tickLerp()
method_7555()
func_184447_s()
public void
a(boolean arg0, boolean arg1)
setPaddleState(boolean arg0, boolean arg1)
method_7538(boolean arg0, boolean arg1)
setPaddleMovings(boolean leftMoving, boolean rightMoving)
func_184445_a(boolean arg0, boolean arg1)
private Boat$Status
s()
getStatus()
method_7552()
checkLocation()
func_184449_t()
public float
k()
getWaterLevelAbove()
method_7544()
func_184451_k()
public float
l()
getGroundFriction()
method_7548()
func_184441_l()
private boolean
u()
checkInWater()
method_7545()
checkBoatInWater()
func_184446_u()
private Boat$Status
v()
isUnderwater()
method_7532()
getUnderWaterLocation()
func_184444_v()
private void
w()
floatBoat()
method_7534()
updateVelocity()
func_184450_w()
private void
z()
controlBoat()
method_7549()
updatePaddles()
func_184443_x()
public void
k(aio arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
updatePassengerPosition(Entity arg0)
func_184232_k(Entity arg0)
protected void
a(aio arg0)
clampRotation(Entity arg0)
method_7546(class_1297 arg0)
copyEntityData(Entity entity)
func_184454_a(Entity arg0)
protected void
b(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
protected void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
b(awg arg0, ahi arg1)
interact(Player arg0, InteractionHand arg1)
method_5688(class_1657 arg0, class_1268 arg1)
interact(PlayerEntity arg0, Hand arg1)
func_184230_a(PlayerEntity arg0, Hand arg1)
protected void
a(double arg0, boolean arg1, bvt arg2, ew 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)
func_184231_a(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public boolean
a(int arg0)
getPaddleState(int arg0)
method_7556(int arg0)
isPaddleMoving(int paddle)
func_184457_a(int arg0)
public void
a(float arg0)
setDamage(float arg0)
method_7542(float arg0)
setDamageWobbleStrength(float wobbleStrength)
func_70266_a(float arg0)
setDamage(float arg0)
public float
m()
getDamage()
method_7554()
getDamageWobbleStrength()
func_70271_g()
getDamage()
public void
b(int arg0)
setHurtTime(int arg0)
method_7553(int arg0)
setDamageWobbleTicks(int wobbleTicks)
func_70265_b(int arg0)
public int
n()
getHurtTime()
method_7533()
getDamageWobbleTicks()
func_70268_h()
private void
d(int arg0)
setBubbleTime(int arg0)
method_7531(int arg0)
setBubbleWobbleTicks(int wobbleTicks)
func_203055_e(int arg0)
private int
A()
getBubbleTime()
method_7539()
getBubbleWobbleTicks()
func_203058_B()
public void
c(int arg0)
setHurtDir(int arg0)
method_7540(int arg0)
setDamageWobbleSide(int side)
func_70269_c(int arg0)
public int
o()
getHurtDir()
method_7543()
getDamageWobbleSide()
func_70267_i()
public void
a(axw$b arg0)
setType(Boat$Type arg0)
method_7541(class_1690$class_1692 arg0)
setBoatType(BoatEntity$Type type)
func_184458_a(BoatEntity$Type arg0)
setType(EntityBoat$EnumBoatType arg0)
public Boat$Type
p()
getBoatType()
method_7536()
getBoatType()
func_184453_r()
getType()
protected boolean
q(aio arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
func_184219_q(Entity arg0)
public Entity
bV()
getControllingPassenger()
method_5642()
getPrimaryPassenger()
func_184179_bs()
getRidingPassenger()
public Packet<?>
N()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public void
aY()
animateHurt()
method_5879()
animateDamage()
func_70057_ab()
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)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
func_180426_a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
public float
a(int arg0, float arg1)
getRowingTime(int arg0, float arg1)
method_7551(int arg0, float arg1)
interpolatePaddlePhase(int paddle, float tickDelta)
func_184448_a(int arg0, float arg1)
public void
l(aio arg0)
onPassengerTurned(Entity arg0)
method_5644(class_1297 arg0)
onPassengerLookAround(Entity arg0)
func_184190_l(Entity arg0)
public float
b(float arg0)
getBubbleAngle(float arg0)
method_7547(float arg0)
interpolateBubbleWobble(float tickDelta)
func_203056_b(float arg0)
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)
setInputs(boolean pressingLeft, boolean pressingRight, boolean pressingForward, boolean pressingBack)
func_184442_a(boolean arg0, boolean arg1, boolean arg2, boolean arg3)