net.minecraft.world.entity.vehicle

public class Boat

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

bhk
net.minecraft.world.entity.vehicle.Boat
net.minecraft.class_1690
net.minecraft.entity.vehicle.BoatEntity
net.minecraft.entity.item.BoatEntity
net.minecraft.server.v1_16_R2.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>
ag
DATA_ID_BUBBLE_TIME
field_7691
BUBBLE_WOBBLE_TICKS
field_203064_g
private final float[]
ah
paddlePositions
field_7704
paddlePhases
field_184470_f
private float
ai
invFriction
field_7692
velocityDecay
field_184472_g
private float
aj
outOfControlTicks
field_7706
ticksUnderwater
field_184474_h
private float
ak
deltaRotation
field_7690
yawVelocity
field_184475_as
private int
al
lerpSteps
field_7708
field_7708
field_184476_at
private double
am
lerpX
field_7686
x
field_70281_h
private double
an
lerpY
field_7700
y
field_184477_av
private double
ao
lerpZ
field_7685
z
field_184478_aw
private double
ap
lerpYRot
field_7699
boatYaw
field_70273_g
private double
aq
lerpXRot
field_7684
boatPitch
field_184479_ay
private boolean
ar
inputLeft
field_7710
pressingLeft
field_184480_az
private boolean
as
inputRight
field_7695
pressingRight
field_184459_aA
private boolean
at
inputUp
field_7709
pressingForward
field_184461_aB
private boolean
au
inputDown
field_7693
pressingBack
field_184463_aC
private double
av
waterLevel
field_7697
waterLevel
field_184465_aD
private float
aw
landFriction
field_7714
field_7714
field_184467_aE
private Boat$Status
ax
status
field_7702
location
field_184469_aF
private Boat$Status
ay
oldStatus
field_7701
lastLocation
field_184471_aG
private double
az
lastYd
field_7696
fallVelocity
field_184473_aH
private boolean
aA
isAboveBubbleColumn
field_7689
onBubbleColumnSurface
field_203059_aM
private boolean
aB
bubbleColumnDirectionIsDown
field_7703
bubbleColumnIsDrag
field_203060_aN
private float
aC
bubbleMultiplier
field_7712
bubbleWobbleStrength
field_203061_aO
private float
aD
bubbleAngle
field_7694
bubbleWobble
field_203062_aP
private float
aE
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 float
a(aqu arg0, apy arg1)
getEyeHeight(Pose arg0, EntityDimensions arg1)
method_18378(class_4050 arg0, class_4048 arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213316_a(Pose arg0, EntitySize arg1)
getHeadHeight(EntityPose arg0, EntitySize arg1)
protected boolean
aB()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public boolean
j(apx arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
method_30949(Entity arg0)
func_241849_j(Entity arg0)
public static boolean
a(apx arg0, apx arg1)
canVehicleCollide(Entity arg0, Entity arg1)
method_30959(class_1297 arg0, class_1297 arg1)
method_30959(Entity arg0, Entity arg1)
func_242378_a(Entity arg0, Entity arg1)
public boolean
aY()
canBeCollidedWith()
method_30948()
method_30948()
func_241845_aY()
public boolean
aT()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
protected Vec3
a(gc$a arg0, i$a arg1)
getRelativePortalPosition(Direction$Axis arg0, BlockUtil$FoundRectangle arg1)
method_30633(class_2350$class_2351 arg0, class_5459$class_5460 arg1)
method_30633(Direction$Axis arg0, class_5459$class_5460 arg1)
func_241839_a(Direction$Axis arg0, TeleportationRepositioner$Result arg1)
public double
bb()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
func_70042_X()
public boolean
a(aph 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
k(boolean arg0)
onAboveBubbleCol(boolean arg0)
method_5700(boolean arg0)
onBubbleColumnSurfaceCollision(boolean arg0)
func_203002_i(boolean arg0)
public void
i(apx arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
func_70108_f(Entity arg0)
collide(Entity arg0)
public Item
g()
getDropItem()
method_7557()
asItem()
func_184455_j()
public boolean
aS()
isPickable()
method_5863()
collides()
func_70067_L()
isInteractable()
public Direction
bZ()
getMotionDirection()
method_5755()
getMovementDirection()
func_184172_bi()
getAdjustedDirection()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
q()
tickBubbleColumn()
method_7550()
handleBubbleColumn()
func_203057_r()
protected SoundEvent
h()
getPaddleSound()
method_7537()
getPaddleSoundEvent()
func_193047_k()
private void
r()
tickLerp()
method_7555()
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
i()
getWaterLevelAbove()
method_7544()
method_7544()
func_184451_k()
public float
k()
getGroundFriction()
method_7548()
method_7548()
func_184441_l()
private boolean
t()
checkInWater()
method_7545()
checkBoatInWater()
func_184446_u()
private Boat$Status
u()
isUnderwater()
method_7532()
getUnderWaterLocation()
func_184444_v()
private void
v()
floatBoat()
method_7534()
updateVelocity()
func_184450_w()
private void
x()
controlBoat()
method_7549()
updatePaddles()
func_184443_x()
public void
k(apx arg0)
positionRider(Entity arg0)
method_5865(class_1297 arg0)
updatePassengerPosition(Entity arg0)
func_184232_k(Entity arg0)
public Vec3
b(aqj arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
func_230268_c_(LivingEntity arg0)
protected void
a(apx arg0)
clampRotation(Entity arg0)
method_7546(class_1297 arg0)
copyEntityData(Entity entity)
func_184454_a(Entity arg0)
protected void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
protected void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public InteractionResult
a(bft arg0, aoq 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, cee arg2, fx 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
z()
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(bhk$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(apx arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
func_184219_q(Entity arg0)
public Entity
cl()
getControllingPassenger()
method_5642()
getPrimaryPassenger()
func_184179_bs()
getRidingPassenger()
public Packet<?>
P()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public boolean
aH()
isUnderWater()
method_5869()
isSubmergedInWater()
func_204231_K()
public void
bl()
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(apx 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)