net.minecraft.world.entity.vehicle

public class OldMinecartBehavior

extends MinecartBehavior

crn
net.minecraft.world.entity.vehicle.OldMinecartBehavior
net.minecraft.class_9883
net.minecraft.entity.vehicle.DefaultMinecartController
net.minecraft.world.entity.vehicle.OldMinecartBehavior

Field summary

Modifier and TypeField
private static final double
b
MINECART_RIDABLE_THRESHOLD
field_52547
field_52547
private static final double
c
MAX_SPEED_IN_WATER
field_54466
field_54466
private static final double
d
MAX_SPEED_ON_LAND
field_54467
field_54467
private static final double
e
ABSOLUTE_MAX_SPEED
field_54468
field_54468
private int
f
lerpSteps
field_52548
step
private double
g
lerpX
field_52549
x
private double
h
lerpY
field_52550
y
private double
i
lerpZ
field_52551
z
private double
j
lerpYRot
field_52552
yaw
private double
k
lerpXRot
field_52553
pitch
private Vec3
l
targetDeltaMovement
field_52554
velocity

Constructor summary

ModifierConstructor
public (AbstractMinecart arg0)

Method summary

Modifier and TypeMethod
public void
a()
cancelLerp()
method_64647()
resetLerp()
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
method_61574(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
setPos(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
public double
b()
lerpTargetX()
method_61572()
getLerpTargetX()
public double
c()
lerpTargetY()
method_61578()
getLerpTargetY()
public double
d()
lerpTargetZ()
method_61582()
getLerpTargetZ()
public float
e()
lerpTargetXRot()
method_61585()
getLerpTargetPitch()
public float
f()
lerpTargetYRot()
method_61586()
getLerpTargetYaw()
public void
a(double arg0, double arg1, double arg2)
lerpMotion(double arg0, double arg1, double arg2)
method_61573(double arg0, double arg1, double arg2)
setLerpTargetVelocity(double arg0, double arg1, double arg2)
public void
g()
tick()
method_61587()
tick()
public void
a(ard arg0)
moveAlongTrack(ServerLevel arg0)
method_61589(class_3218 arg0)
moveOnRail(ServerWorld arg0)
public Vec3
a(double arg0, double arg1, double arg2, double arg3)
getPosOffs(double arg0, double arg1, double arg2, double arg3)
method_61619(double arg0, double arg1, double arg2, double arg3)
method_61619(double x, double y, double z, double arg3)
public Vec3
d(double arg0, double arg1, double arg2)
getPos(double arg0, double arg1, double arg2)
method_61620(double arg0, double arg1, double arg2)
snapPositionToRail(double x, double y, double z)
public double
a(ji arg0, dyb arg1, double arg2)
stepAlongTrack(BlockPos arg0, RailShape arg1, double arg2)
method_61577(class_2338 arg0, class_2768 arg1, double arg2)
moveAlongTrack(BlockPos arg0, RailShape arg1, double arg2)
public boolean
i()
pushAndPickupEntities()
method_62826()
handleCollision()
public Direction
q()
getMotionDirection()
method_61597()
getHorizontalFacing()
public Vec3
c(fbb arg0)
getKnownMovement(Vec3 arg0)
method_61584(class_243 arg0)
limitSpeed(Vec3d arg0)
public double
b(ard arg0)
getMaxSpeed(ServerLevel arg0)
method_61598(class_3218 arg0)
getMaxSpeed(ServerWorld arg0)
public double
r()
getSlowdownFactor()
method_61599()
getSpeedRetention()