net.minecraft.world.entity.vehicle

public abstract class MinecartBehavior

crf
net.minecraft.world.entity.vehicle.MinecartBehavior
net.minecraft.class_9878
net.minecraft.entity.vehicle.MinecartController
net.minecraft.world.entity.vehicle.MinecartBehavior

Field summary

Modifier and TypeField
protected final AbstractMinecart
a
minecart
field_52520
minecart

Constructor summary

ModifierConstructor
protected (AbstractMinecart minecart)

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 x, double y, double z, float yaw, float pitch, int interpolationSteps)
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 x, double y, double z)
public abstract void
g()
tick()
method_61587()
tick()
public Level
h()
level()
method_61588()
getWorld()
public abstract void
a(ard arg0)
moveAlongTrack(ServerLevel arg0)
method_61589(class_3218 arg0)
moveOnRail(ServerWorld world)
public abstract 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 blockPos, RailShape railShape, double remainingMovement)
public abstract boolean
i()
pushAndPickupEntities()
method_62826()
handleCollision()
public Vec3
j()
getDeltaMovement()
method_61590()
getVelocity()
public void
a(fbb arg0)
setDeltaMovement(Vec3 arg0)
method_61576(class_243 arg0)
setVelocity(Vec3d velocity)
public void
b(double arg0, double arg1, double arg2)
setDeltaMovement(double arg0, double arg1, double arg2)
method_61579(double arg0, double arg1, double arg2)
setVelocity(double x, double y, double z)
public Vec3
k()
position()
method_61591()
getPos()
public double
l()
getX()
method_61592()
getX()
public double
m()
getY()
method_61593()
getY()
public double
n()
getZ()
method_61594()
getZ()
public void
b(fbb arg0)
setPos(Vec3 arg0)
method_61581(class_243 arg0)
setPos(Vec3d pos)
public void
c(double arg0, double arg1, double arg2)
setPos(double arg0, double arg1, double arg2)
method_61583(double arg0, double arg1, double arg2)
setPos(double x, double y, double z)
public float
o()
getXRot()
method_61595()
getPitch()
public void
a(float arg0)
setXRot(float arg0)
method_61575(float arg0)
setPitch(float pitch)
public float
p()
getYRot()
method_61596()
getYaw()
public void
b(float arg0)
setYRot(float arg0)
method_61580(float arg0)
setYaw(float yaw)
public Direction
q()
getMotionDirection()
method_61597()
getHorizontalFacing()
public Vec3
c(fbb arg0)
getKnownMovement(Vec3 arg0)
method_61584(class_243 arg0)
limitSpeed(Vec3d velocity)
public abstract double
b(ard arg0)
getMaxSpeed(ServerLevel arg0)
method_61598(class_3218 arg0)
getMaxSpeed(ServerWorld world)
public abstract double
r()
getSlowdownFactor()
method_61599()
getSpeedRetention()