net.minecraft.entity.vehicle

public class BoatEntity

extends Entity

All mapped superinterfaces:

CommandSource

afd
net.minecraft.class_962
net.minecraft.entity.vehicle.BoatEntity
net.minecraft.entity.item.EntityBoat
net.minecraft.entity.item.EntityBoat

Field summary

Modifier and TypeField
private static final DataAttribute<Integer>
a
field_12221
DAMAGE_WOBBLE_TICKS
field_184460_a
TIME_SINCE_HIT
private static final DataAttribute<Integer>
b
field_12227
DAMAGE_WOBBLE_SIDE
field_184462_b
FORWARD_DIRECTION
private static final DataAttribute<Float>
c
field_12228
DAMAGE_WOBBLE_STRENGTH
field_184464_c
DAMAGE_TAKEN
private static final DataAttribute<Integer>
d
field_12229
BOAT_TYPE
field_184466_d
BOAT_TYPE
private static final DataAttribute<Boolean>[]
e
field_12230
LEFT_PADDLE_MOVING
field_184468_e
DATA_ID_PADDLE
private final float[]
f
field_12231
paddlePhases
field_184470_f
paddlePositions
private float
g
field_12232
velocityDecay
field_184472_g
momentum
private float
h
field_12233
ticksUnderwater
field_184474_h
outOfControlTicks
private float
at
field_12222
yawVelocity
field_184475_as
deltaRotation
private int
au
field_12223
lerpSteps
field_184476_at
lerpSteps
private double
av
field_3885
lerpX
field_70281_h
lerpX
private double
aw
field_12224
lerpY
field_184477_av
lerpY
private double
ax
field_12225
lerpZ
field_184478_aw
lerpZ
private double
ay
field_3884
lerpYaw
field_70273_g
lerpYaw
private double
az
field_12226
lerpPitch
field_184479_ay
lerpPitch
private boolean
aA
field_12212
inputLeft
field_184480_az
leftInputDown
private boolean
aB
field_12213
inputRight
field_184459_aA
rightInputDown
private boolean
aC
field_12214
inputUp
field_184461_aB
forwardInputDown
private boolean
aD
field_12215
inputDown
field_184463_aC
backInputDown
private double
aE
field_12216
waterLevel
field_184465_aD
waterLevel
private float
aF
field_12217
nearbySlipperiness
field_184467_aE
boatGlide
private BoatEntity$Status
aG
field_12218
location
field_184469_aF
status
private BoatEntity$Status
aH
field_12219
lastLocation
field_184471_aG
previousStatus
private double
aI
field_12220
fallVelocity
field_184473_aH
lastYd

Constructor summary

ModifierConstructor
public (World arg0)
public (World world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected boolean
ak()
method_2549()
makesSteps()
func_70041_e_()
canTriggerWalking()
protected void
i()
method_2484()
registerSyncedData()
func_70088_a()
entityInit()
public Box
j(vg arg0)
method_2555(class_864 arg0)
getCollisionAgainstShape(Entity arg0)
func_70114_g(Entity arg0)
getCollisionBox(Entity arg0)
public Box
al()
method_2464()
getCollisionShape()
func_70046_E()
getCollisionBoundingBox()
public boolean
az()
method_2472()
isPushable()
func_70104_M()
canBePushed()
public double
aG()
method_2481()
getMountHeight()
func_70042_X()
getMountedYOffset()
public boolean
a(ur arg0, float arg1)
method_2499(class_856 arg0, float arg1)
takeDamage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
attackEntityFrom(DamageSource arg0, float arg1)
public void
i(vg arg0)
method_2552(class_864 arg0)
push(Entity arg0)
func_70108_f(Entity arg0)
applyEntityCollision(Entity arg0)
public Item
j()
method_11331()
asItem()
func_184455_j()
getItemBoat()
public boolean
ay()
method_2471()
hasCollision()
func_70067_L()
canBeCollidedWith()
public Direction
bu()
method_12995()
getMovementDirection()
func_184172_bi()
getAdjustedHorizontalFacing()
public void
B_()
method_2558()
tick()
func_70071_h_()
onUpdate()
protected SoundEvent
k()
method_14203()
getPaddleSoundEvent()
func_193047_k()
getPaddleSound()
private void
t()
method_11335()
updatePositionAndRotation()
func_184447_s()
tickLerp()
public void
a(boolean arg0, boolean arg1)
method_11328(boolean arg0, boolean arg1)
setPaddleMovings(boolean leftMoving, boolean rightMoving)
func_184445_a(boolean arg0, boolean arg1)
setPaddleState(boolean left, boolean right)
private BoatEntity$Status
u()
method_11336()
checkLocation()
func_184449_t()
getBoatStatus()
public float
l()
method_11332()
getWaterHeightBelow()
func_184451_k()
getWaterLevelAbove()
public float
n()
method_11333()
getNearbySlipperiness()
func_184441_l()
getBoatGlide()
private boolean
v()
method_11337()
checkBoatInWater()
func_184446_u()
checkInWater()
private BoatEntity$Status
w()
method_11338()
getUnderwaterLocation()
func_184444_v()
getUnderwaterStatus()
private void
x()
method_11339()
updateVelocity()
func_184450_w()
updateMotion()
private void
y()
method_11340()
updatePaddles()
func_184443_x()
controlBoat()
public void
k(vg arg0)
method_13009(class_864 arg0)
updateRiderPositon(Entity arg0)
func_184232_k(Entity arg0)
updatePassenger(Entity arg0)
protected void
a(vg arg0)
method_11327(class_864 arg0)
copyEntityData(Entity rider)
func_184454_a(Entity arg0)
applyYawToEntity(Entity entityToUpdate)
protected void
b(fy arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
func_70014_b(NBTTagCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
protected void
a(fy arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
func_70037_a(NBTTagCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
public boolean
b(aed arg0, ub arg1)
method_6100(class_988 arg0, class_2961 arg1)
interact(PlayerEntity arg0, InteractionHand arg1)
func_184230_a(EntityPlayer arg0, EnumHand arg1)
processInitialInteract(EntityPlayer arg0, EnumHand arg1)
protected void
a(double arg0, boolean arg1, awt arg2, et arg3)
method_2489(double arg0, boolean arg1, class_2232 arg2, class_2552 arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
func_184231_a(double arg0, boolean arg1, IBlockState arg2, BlockPos arg3)
updateFallState(double arg0, boolean arg1, IBlockState arg2, BlockPos arg3)
public boolean
a(int arg0)
method_11323(int arg0)
getPaddleState(int side)
func_184457_a(int arg0)
getPaddleState(int side)
public void
a(float arg0)
method_6304(float arg0)
setDamage(float damage)
func_70266_a(float arg0)
setDamageTaken(float damageTaken)
public float
p()
method_6305()
getDamage()
func_70271_g()
getDamageTaken()
public void
c(int arg0)
method_3050(int arg0)
setDamagedTimer(int ticks)
func_70265_b(int arg0)
setTimeSinceHit(int timeSinceHit)
public int
q()
method_3054()
getDamagedTimer()
func_70268_h()
getTimeSinceHit()
public void
d(int arg0)
method_3051(int arg0)
setDamagedSwingDirection(int dir)
func_70269_c(int arg0)
setForwardDirection(int forwardDirection)
public int
r()
method_3055()
getDamagedSwingDirection()
func_70267_i()
getForwardDirection()
public void
a(afd$b arg0)
method_11325(class_962$class_2677 arg0)
setType(BoatEntity$Type type)
func_184458_a(EntityBoat$Type arg0)
setBoatType(EntityBoat$Type boatType)
public BoatEntity$Type
s()
method_11334()
getType()
func_184453_r()
getBoatType()
protected boolean
q(vg arg0)
method_13016(class_864 arg0)
canAddPassenger(Entity arg0)
func_184219_q(Entity arg0)
canFitPassenger(Entity arg0)
public Entity
bE()
method_12999()
getControllingPassenger()
func_184179_bs()
getControllingPassenger()
public void
aN()
method_2509()
animateDamage()
func_70057_ab()
performHurtAnimation()
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
method_2488(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
lerpPositionAndAngles(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)
setPositionAndRotationDirect(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
public float
a(int arg0, float arg1)
method_11324(int arg0, float arg1)
interpolatePaddlePhase(int paddle, float tickDelta)
func_184448_a(int arg0, float arg1)
getRowingTime(int side, float limbSwing)
public void
l(vg arg0)
method_13010(class_864 arg0)
onPassengerLookAround(Entity arg0)
func_184190_l(Entity arg0)
applyOrientationToEntity(Entity arg0)
public void
a(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
method_11329(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
setInput(boolean left, boolean right, boolean up, boolean down)
func_184442_a(boolean arg0, boolean arg1, boolean arg2, boolean arg3)
updateInputs(boolean arg0, boolean arg1, boolean arg2, boolean arg3)