Package net.minecraft.entity.vehicle
Class ExperimentalMinecartController
java.lang.Object
net.minecraft.entity.vehicle.MinecartController
net.minecraft.entity.vehicle.ExperimentalMinecartController
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/ExperimentalMinecartController
intermediary net/minecraft/class_9879
official csk
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
private static class
static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final double
private float
private int
static final int
private int
double
Fields inherited from class net.minecraft.entity.vehicle.MinecartController
minecart
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Vec3d
accelerateFromPoweredRail
(Vec3d velocity, BlockPos railPos, BlockState railState) void
adjustToRail
(BlockPos pos, BlockState blockState, boolean ignoreWeight) private Vec3d
applyInitialVelocity
(Vec3d horizontalVelocity) private Vec3d
applySlopeVelocity
(Vec3d horizontalVelocity, RailShape railShape) private boolean
private Vec3d
calcNewHorizontalVelocity
(ServerWorld world, Vec3d horizontalVelocity, ExperimentalMinecartController.MoveIteration iteration, BlockPos pos, BlockState railState, RailShape railShape) private Vec3d
decelerateFromPoweredRail
(Vec3d velocity, BlockState railState) float
getLerpedPitch
(float tickDelta) getLerpedPosition
(float tickDelta) getLerpedStep
(float tickDelta) getLerpedVelocity
(float tickDelta) float
getLerpedYaw
(float tickDelta) double
getMaxSpeed
(ServerWorld world) double
boolean
boolean
double
moveAlongTrack
(BlockPos blockPos, RailShape railShape, double remainingMovement) void
moveOnRail
(ServerWorld world) boolean
pickUpEntities
(Box box) boolean
pushAwayFromEntities
(Box box) private boolean
restOnVShapedTrack
(RailShape currentRailShape, RailShape newRailShape) Prevents otherwise stationary minecart from going back and forth on a V-shaped track.private void
setAngles
(float yaw, float pitch) void
void
tick()
private void
Methods inherited from class net.minecraft.entity.vehicle.MinecartController
getHorizontalFacing, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getPitch, getPos, getVelocity, getWorld, getX, getY, getYaw, getZ, limitSpeed, resetLerp, setLerpTargetVelocity, setPitch, setPos, setPos, setPos, setVelocity, setVelocity, setYaw
-
Field Details
-
REFRESH_FREQUENCY
public static final int REFRESH_FREQUENCY- See Also:
- Mappings:
Namespace Name Mixin selector named REFRESH_FREQUENCY
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;REFRESH_FREQUENCY:I
intermediary field_52527
Lnet/minecraft/class_9879;field_52527:I
official b
Lcsk;b:I
-
field_52528
public static final double field_52528- See Also:
- Mappings:
Namespace Name Mixin selector named field_52528
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;field_52528:D
intermediary field_52528
Lnet/minecraft/class_9879;field_52528:D
official c
Lcsk;c:D
-
field_53756
public static final double field_53756- See Also:
- Mappings:
Namespace Name Mixin selector named field_53756
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;field_53756:D
intermediary field_53756
Lnet/minecraft/class_9879;field_53756:D
official d
Lcsk;d:D
-
lastReturnedInterpolatedStep
@Nullable private @Nullable ExperimentalMinecartController.InterpolatedStep lastReturnedInterpolatedStep- Mappings:
Namespace Name Mixin selector named lastReturnedInterpolatedStep
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;lastReturnedInterpolatedStep:Lnet/minecraft/entity/vehicle/ExperimentalMinecartController$InterpolatedStep;
intermediary field_52533
Lnet/minecraft/class_9879;field_52533:Lnet/minecraft/class_9879$class_9881;
official i
Lcsk;i:Lcsk$b;
-
lastQueriedTicksToNextRefresh
private int lastQueriedTicksToNextRefresh- Mappings:
Namespace Name Mixin selector named lastQueriedTicksToNextRefresh
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;lastQueriedTicksToNextRefresh:I
intermediary field_52534
Lnet/minecraft/class_9879;field_52534:I
official j
Lcsk;j:I
-
lastQueriedTickDelta
private float lastQueriedTickDelta- Mappings:
Namespace Name Mixin selector named lastQueriedTickDelta
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;lastQueriedTickDelta:F
intermediary field_52535
Lnet/minecraft/class_9879;field_52535:F
official k
Lcsk;k:F
-
ticksToNextRefresh
private int ticksToNextRefresh- Mappings:
Namespace Name Mixin selector named ticksToNextRefresh
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;ticksToNextRefresh:I
intermediary field_52536
Lnet/minecraft/class_9879;field_52536:I
official l
Lcsk;l:I
-
stagingLerpSteps
- Mappings:
Namespace Name Mixin selector named stagingLerpSteps
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;stagingLerpSteps:Ljava/util/List;
intermediary field_52529
Lnet/minecraft/class_9879;field_52529:Ljava/util/List;
official e
Lcsk;e:Ljava/util/List;
-
currentLerpSteps
- Mappings:
Namespace Name Mixin selector named currentLerpSteps
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;currentLerpSteps:Ljava/util/List;
intermediary field_52530
Lnet/minecraft/class_9879;field_52530:Ljava/util/List;
official f
Lcsk;f:Ljava/util/List;
-
totalWeight
public double totalWeight- Mappings:
Namespace Name Mixin selector named totalWeight
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;totalWeight:D
intermediary field_52531
Lnet/minecraft/class_9879;field_52531:D
official g
Lcsk;g:D
-
initialStep
- Mappings:
Namespace Name Mixin selector named initialStep
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;initialStep:Lnet/minecraft/entity/vehicle/ExperimentalMinecartController$Step;
intermediary field_52532
Lnet/minecraft/class_9879;field_52532:Lnet/minecraft/class_9879$class_9880;
official h
Lcsk;h:Lcsk$a;
-
-
Constructor Details
-
ExperimentalMinecartController
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/vehicle/MinecartController;<init>(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;)V
intermediary <init>
Lnet/minecraft/class_9878;<init>(Lnet/minecraft/class_1688;)V
official <init>
Lcsd;<init>(Lcrv;)V
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in classMinecartController
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/vehicle/MinecartController;tick()V
intermediary method_61587
Lnet/minecraft/class_9878;method_61587()V
official g
Lcsd;g()V
-
tickClient
private void tickClient()- Mappings:
Namespace Name Mixin selector named tickClient
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;tickClient()V
intermediary method_61615
Lnet/minecraft/class_9879;method_61615()V
official u
Lcsk;u()V
-
setInitialStep
public void setInitialStep()- Mappings:
Namespace Name Mixin selector named setInitialStep
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;setInitialStep()V
intermediary method_61613
Lnet/minecraft/class_9879;method_61613()V
official s
Lcsk;s()V
-
hasCurrentLerpSteps
public boolean hasCurrentLerpSteps()- Mappings:
Namespace Name Mixin selector named hasCurrentLerpSteps
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;hasCurrentLerpSteps()Z
intermediary method_61614
Lnet/minecraft/class_9879;method_61614()Z
official t
Lcsk;t()Z
-
getLerpedPitch
public float getLerpedPitch(float tickDelta) - Mappings:
Namespace Name Mixin selector named getLerpedPitch
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;getLerpedPitch(F)F
intermediary method_61607
Lnet/minecraft/class_9879;method_61607(F)F
official c
Lcsk;c(F)F
-
getLerpedYaw
public float getLerpedYaw(float tickDelta) - Mappings:
Namespace Name Mixin selector named getLerpedYaw
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;getLerpedYaw(F)F
intermediary method_61608
Lnet/minecraft/class_9879;method_61608(F)F
official d
Lcsk;d(F)F
-
getLerpedPosition
- Mappings:
Namespace Name Mixin selector named getLerpedPosition
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;getLerpedPosition(F)Lnet/minecraft/util/math/Vec3d;
intermediary method_61610
Lnet/minecraft/class_9879;method_61610(F)Lnet/minecraft/class_243;
official e
Lcsk;e(F)Lfbx;
-
getLerpedVelocity
- Mappings:
Namespace Name Mixin selector named getLerpedVelocity
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;getLerpedVelocity(F)Lnet/minecraft/util/math/Vec3d;
intermediary method_61611
Lnet/minecraft/class_9879;method_61611(F)Lnet/minecraft/class_243;
official f
Lcsk;f(F)Lfbx;
-
getLerpedStep
- Mappings:
Namespace Name Mixin selector named getLerpedStep
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;getLerpedStep(F)Lnet/minecraft/entity/vehicle/ExperimentalMinecartController$InterpolatedStep;
intermediary method_61612
Lnet/minecraft/class_9879;method_61612(F)Lnet/minecraft/class_9879$class_9881;
official g
Lcsk;g(F)Lcsk$b;
-
adjustToRail
- Mappings:
Namespace Name Mixin selector named adjustToRail
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;adjustToRail(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
intermediary method_61605
Lnet/minecraft/class_9879;method_61605(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
official a
Lcsk;a(Ljh;Ldxu;Z)V
-
setAngles
private void setAngles(float yaw, float pitch) - Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;setAngles(FF)V
intermediary method_62827
Lnet/minecraft/class_9879;method_62827(FF)V
official a
Lcsk;a(FF)V
-
moveOnRail
- Specified by:
moveOnRail
in classMinecartController
- Mappings:
Namespace Name Mixin selector named moveOnRail
Lnet/minecraft/entity/vehicle/MinecartController;moveOnRail(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_61589
Lnet/minecraft/class_9878;method_61589(Lnet/minecraft/class_3218;)V
official a
Lcsd;a(Lash;)V
-
calcNewHorizontalVelocity
private Vec3d calcNewHorizontalVelocity(ServerWorld world, Vec3d horizontalVelocity, ExperimentalMinecartController.MoveIteration iteration, BlockPos pos, BlockState railState, RailShape railShape) - Mappings:
Namespace Name Mixin selector named calcNewHorizontalVelocity
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;calcNewHorizontalVelocity(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/vehicle/ExperimentalMinecartController$MoveIteration;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/enums/RailShape;)Lnet/minecraft/util/math/Vec3d;
intermediary method_61601
Lnet/minecraft/class_9879;method_61601(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;Lnet/minecraft/class_9879$class_9882;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2768;)Lnet/minecraft/class_243;
official a
Lcsk;a(Lash;Lfbx;Lcsk$c;Ljh;Ldxu;Ldyx;)Lfbx;
-
applySlopeVelocity
- Mappings:
Namespace Name Mixin selector named applySlopeVelocity
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;applySlopeVelocity(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/block/enums/RailShape;)Lnet/minecraft/util/math/Vec3d;
intermediary method_61603
Lnet/minecraft/class_9879;method_61603(Lnet/minecraft/class_243;Lnet/minecraft/class_2768;)Lnet/minecraft/class_243;
official a
Lcsk;a(Lfbx;Ldyx;)Lfbx;
-
applyInitialVelocity
- Mappings:
Namespace Name Mixin selector named applyInitialVelocity
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;applyInitialVelocity(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_61609
Lnet/minecraft/class_9879;method_61609(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official d
Lcsk;d(Lfbx;)Lfbx;
-
decelerateFromPoweredRail
- Mappings:
Namespace Name Mixin selector named decelerateFromPoweredRail
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;decelerateFromPoweredRail(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Vec3d;
intermediary method_61602
Lnet/minecraft/class_9879;method_61602(Lnet/minecraft/class_243;Lnet/minecraft/class_2680;)Lnet/minecraft/class_243;
official a
Lcsk;a(Lfbx;Ldxu;)Lfbx;
-
accelerateFromPoweredRail
- Mappings:
Namespace Name Mixin selector named accelerateFromPoweredRail
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;accelerateFromPoweredRail(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Vec3d;
intermediary method_61604
Lnet/minecraft/class_9879;method_61604(Lnet/minecraft/class_243;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_243;
official a
Lcsk;a(Lfbx;Ljh;Ldxu;)Lfbx;
-
moveAlongTrack
- Specified by:
moveAlongTrack
in classMinecartController
- Mappings:
Namespace Name Mixin selector named moveAlongTrack
Lnet/minecraft/entity/vehicle/MinecartController;moveAlongTrack(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/enums/RailShape;D)D
intermediary method_61577
Lnet/minecraft/class_9878;method_61577(Lnet/minecraft/class_2338;Lnet/minecraft/class_2768;D)D
official a
Lcsd;a(Ljh;Ldyx;D)D
-
restOnVShapedTrack
Prevents otherwise stationary minecart from going back and forth on a V-shaped track.- Mappings:
Namespace Name Mixin selector named restOnVShapedTrack
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;restOnVShapedTrack(Lnet/minecraft/block/enums/RailShape;Lnet/minecraft/block/enums/RailShape;)Z
intermediary method_62828
Lnet/minecraft/class_9879;method_62828(Lnet/minecraft/class_2768;Lnet/minecraft/class_2768;)Z
official a
Lcsk;a(Ldyx;Ldyx;)Z
-
getMaxSpeed
- Specified by:
getMaxSpeed
in classMinecartController
- Mappings:
Namespace Name Mixin selector named getMaxSpeed
Lnet/minecraft/entity/vehicle/MinecartController;getMaxSpeed(Lnet/minecraft/server/world/ServerWorld;)D
intermediary method_61598
Lnet/minecraft/class_9878;method_61598(Lnet/minecraft/class_3218;)D
official b
Lcsd;b(Lash;)D
-
ascends
- Mappings:
Namespace Name Mixin selector named ascends
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;ascends(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/block/enums/RailShape;)Z
intermediary method_61606
Lnet/minecraft/class_9879;method_61606(Lnet/minecraft/class_243;Lnet/minecraft/class_2768;)Z
official b
Lcsk;b(Lfbx;Ldyx;)Z
-
getSpeedRetention
public double getSpeedRetention()- Specified by:
getSpeedRetention
in classMinecartController
- Mappings:
Namespace Name Mixin selector named getSpeedRetention
Lnet/minecraft/entity/vehicle/MinecartController;getSpeedRetention()D
intermediary method_61599
Lnet/minecraft/class_9878;method_61599()D
official r
Lcsd;r()D
-
handleCollision
public boolean handleCollision()- Specified by:
handleCollision
in classMinecartController
- Mappings:
Namespace Name Mixin selector named handleCollision
Lnet/minecraft/entity/vehicle/MinecartController;handleCollision()Z
intermediary method_62826
Lnet/minecraft/class_9878;method_62826()Z
official i
Lcsd;i()Z
-
pickUpEntities
- Mappings:
Namespace Name Mixin selector named pickUpEntities
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;pickUpEntities(Lnet/minecraft/util/math/Box;)Z
intermediary method_62829
Lnet/minecraft/class_9879;method_62829(Lnet/minecraft/class_238;)Z
official a
Lcsk;a(Lfbs;)Z
-
pushAwayFromEntities
- Mappings:
Namespace Name Mixin selector named pushAwayFromEntities
Lnet/minecraft/entity/vehicle/ExperimentalMinecartController;pushAwayFromEntities(Lnet/minecraft/util/math/Box;)Z
intermediary method_62830
Lnet/minecraft/class_9879;method_62830(Lnet/minecraft/class_238;)Z
official b
Lcsk;b(Lfbs;)Z
-