Class DefaultMinecartController

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

public class DefaultMinecartController extends MinecartController
Mappings:
Namespace Name
named net/minecraft/entity/vehicle/DefaultMinecartController
intermediary net/minecraft/class_9883
official csl
  • Field Details

    • field_52547

      private static final double field_52547
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52547 Lnet/minecraft/entity/vehicle/DefaultMinecartController;field_52547:D
      intermediary field_52547 Lnet/minecraft/class_9883;field_52547:D
      official b Lcsl;b:D
    • field_54466

      private static final double field_54466
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54466 Lnet/minecraft/entity/vehicle/DefaultMinecartController;field_54466:D
      intermediary field_54466 Lnet/minecraft/class_9883;field_54466:D
      official c Lcsl;c:D
    • field_54467

      private static final double field_54467
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54467 Lnet/minecraft/entity/vehicle/DefaultMinecartController;field_54467:D
      intermediary field_54467 Lnet/minecraft/class_9883;field_54467:D
      official d Lcsl;d:D
    • field_54468

      private static final double field_54468
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54468 Lnet/minecraft/entity/vehicle/DefaultMinecartController;field_54468:D
      intermediary field_54468 Lnet/minecraft/class_9883;field_54468:D
      official e Lcsl;e:D
    • step

      private int step
      Mappings:
      Namespace Name Mixin selector
      named step Lnet/minecraft/entity/vehicle/DefaultMinecartController;step:I
      intermediary field_52548 Lnet/minecraft/class_9883;field_52548:I
      official f Lcsl;f:I
    • x

      private double x
      Mappings:
      Namespace Name Mixin selector
      named x Lnet/minecraft/entity/vehicle/DefaultMinecartController;x:D
      intermediary field_52549 Lnet/minecraft/class_9883;field_52549:D
      official g Lcsl;g:D
    • y

      private double y
      Mappings:
      Namespace Name Mixin selector
      named y Lnet/minecraft/entity/vehicle/DefaultMinecartController;y:D
      intermediary field_52550 Lnet/minecraft/class_9883;field_52550:D
      official h Lcsl;h:D
    • z

      private double z
      Mappings:
      Namespace Name Mixin selector
      named z Lnet/minecraft/entity/vehicle/DefaultMinecartController;z:D
      intermediary field_52551 Lnet/minecraft/class_9883;field_52551:D
      official i Lcsl;i:D
    • yaw

      private double yaw
      Mappings:
      Namespace Name Mixin selector
      named yaw Lnet/minecraft/entity/vehicle/DefaultMinecartController;yaw:D
      intermediary field_52552 Lnet/minecraft/class_9883;field_52552:D
      official j Lcsl;j:D
    • pitch

      private double pitch
      Mappings:
      Namespace Name Mixin selector
      named pitch Lnet/minecraft/entity/vehicle/DefaultMinecartController;pitch:D
      intermediary field_52553 Lnet/minecraft/class_9883;field_52553:D
      official k Lcsl;k:D
    • velocity

      private Vec3d velocity
      Mappings:
      Namespace Name Mixin selector
      named velocity Lnet/minecraft/entity/vehicle/DefaultMinecartController;velocity:Lnet/minecraft/util/math/Vec3d;
      intermediary field_52554 Lnet/minecraft/class_9883;field_52554:Lnet/minecraft/class_243;
      official l Lcsl;l:Lfbx;
  • Constructor Details

    • DefaultMinecartController

      public DefaultMinecartController(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

    • resetLerp

      public void resetLerp()
      Overrides:
      resetLerp in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named resetLerp Lnet/minecraft/entity/vehicle/MinecartController;resetLerp()V
      intermediary method_64647 Lnet/minecraft/class_9878;method_64647()V
      official a Lcsd;a()V
    • setPos

      public void setPos(double x, double y, double z, float yaw, float pitch, int interpolationSteps)
      Overrides:
      setPos in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named setPos Lnet/minecraft/entity/vehicle/MinecartController;setPos(DDDFFI)V
      intermediary method_61574 Lnet/minecraft/class_9878;method_61574(DDDFFI)V
      official a Lcsd;a(DDDFFI)V
    • getLerpTargetX

      public double getLerpTargetX()
      Overrides:
      getLerpTargetX in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetX Lnet/minecraft/entity/vehicle/MinecartController;getLerpTargetX()D
      intermediary method_61572 Lnet/minecraft/class_9878;method_61572()D
      official b Lcsd;b()D
    • getLerpTargetY

      public double getLerpTargetY()
      Overrides:
      getLerpTargetY in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetY Lnet/minecraft/entity/vehicle/MinecartController;getLerpTargetY()D
      intermediary method_61578 Lnet/minecraft/class_9878;method_61578()D
      official c Lcsd;c()D
    • getLerpTargetZ

      public double getLerpTargetZ()
      Overrides:
      getLerpTargetZ in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetZ Lnet/minecraft/entity/vehicle/MinecartController;getLerpTargetZ()D
      intermediary method_61582 Lnet/minecraft/class_9878;method_61582()D
      official d Lcsd;d()D
    • getLerpTargetPitch

      public float getLerpTargetPitch()
      Overrides:
      getLerpTargetPitch in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetPitch Lnet/minecraft/entity/vehicle/MinecartController;getLerpTargetPitch()F
      intermediary method_61585 Lnet/minecraft/class_9878;method_61585()F
      official e Lcsd;e()F
    • getLerpTargetYaw

      public float getLerpTargetYaw()
      Overrides:
      getLerpTargetYaw in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetYaw Lnet/minecraft/entity/vehicle/MinecartController;getLerpTargetYaw()F
      intermediary method_61586 Lnet/minecraft/class_9878;method_61586()F
      official f Lcsd;f()F
    • setLerpTargetVelocity

      public void setLerpTargetVelocity(double x, double y, double z)
      Overrides:
      setLerpTargetVelocity in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named setLerpTargetVelocity Lnet/minecraft/entity/vehicle/MinecartController;setLerpTargetVelocity(DDD)V
      intermediary method_61573 Lnet/minecraft/class_9878;method_61573(DDD)V
      official a Lcsd;a(DDD)V
    • 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
    • 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
    • method_61619

      @Nullable public @Nullable Vec3d method_61619(double x, double y, double z, double double2)
      Mappings:
      Namespace Name Mixin selector
      named method_61619 Lnet/minecraft/entity/vehicle/DefaultMinecartController;method_61619(DDDD)Lnet/minecraft/util/math/Vec3d;
      intermediary method_61619 Lnet/minecraft/class_9883;method_61619(DDDD)Lnet/minecraft/class_243;
      official a Lcsl;a(DDDD)Lfbx;
    • snapPositionToRail

      @Nullable public @Nullable Vec3d snapPositionToRail(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named snapPositionToRail Lnet/minecraft/entity/vehicle/DefaultMinecartController;snapPositionToRail(DDD)Lnet/minecraft/util/math/Vec3d;
      intermediary method_61620 Lnet/minecraft/class_9883;method_61620(DDD)Lnet/minecraft/class_243;
      official d Lcsl;d(DDD)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
    • 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
    • getHorizontalFacing

      public Direction getHorizontalFacing()
      Overrides:
      getHorizontalFacing in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named getHorizontalFacing Lnet/minecraft/entity/vehicle/MinecartController;getHorizontalFacing()Lnet/minecraft/util/math/Direction;
      intermediary method_61597 Lnet/minecraft/class_9878;method_61597()Lnet/minecraft/class_2350;
      official q Lcsd;q()Ljm;
    • limitSpeed

      public Vec3d limitSpeed(Vec3d velocity)
      Overrides:
      limitSpeed in class MinecartController
      Mappings:
      Namespace Name Mixin selector
      named limitSpeed Lnet/minecraft/entity/vehicle/MinecartController;limitSpeed(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_61584 Lnet/minecraft/class_9878;method_61584(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      official c Lcsd;c(Lfbx;)Lfbx;
    • 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
    • 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