Class ExperimentalMinecartController

java.lang.Object
net.minecraft.entity.vehicle.MinecartController
net.minecraft.entity.vehicle.ExperimentalMinecartController

public class ExperimentalMinecartController extends MinecartController
Mappings:
Namespace Name
named net/minecraft/entity/vehicle/ExperimentalMinecartController
intermediary net/minecraft/class_9879
official csk
  • 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

      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

      public final List<ExperimentalMinecartController.Step> 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

      public final List<ExperimentalMinecartController.Step> 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

      public ExperimentalMinecartController(AbstractMinecartEntity minecart)
      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 class MinecartController
      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

      public Vec3d getLerpedPosition(float tickDelta)
      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

      public Vec3d getLerpedVelocity(float tickDelta)
      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

      private ExperimentalMinecartController.InterpolatedStep getLerpedStep(float tickDelta)
      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

      public void adjustToRail(BlockPos pos, BlockState blockState, boolean ignoreWeight)
      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

      public void moveOnRail(ServerWorld world)
      Specified by:
      moveOnRail in class MinecartController
      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

      private Vec3d applySlopeVelocity(Vec3d horizontalVelocity, RailShape railShape)
      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

      private Vec3d applyInitialVelocity(Vec3d horizontalVelocity)
      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

      private Vec3d decelerateFromPoweredRail(Vec3d velocity, BlockState railState)
      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

      private Vec3d accelerateFromPoweredRail(Vec3d velocity, BlockPos railPos, BlockState railState)
      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

      public double moveAlongTrack(BlockPos blockPos, RailShape railShape, double remainingMovement)
      Specified by:
      moveAlongTrack in class MinecartController
      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

      private boolean restOnVShapedTrack(RailShape currentRailShape, RailShape newRailShape)
      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

      public double getMaxSpeed(ServerWorld world)
      Specified by:
      getMaxSpeed in class MinecartController
      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

      private boolean ascends(Vec3d velocity, RailShape railShape)
      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 class MinecartController
      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 class MinecartController
      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

      public boolean pickUpEntities(Box box)
      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

      public boolean pushAwayFromEntities(Box box)
      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