Class MinecartController

java.lang.Object
net.minecraft.entity.vehicle.MinecartController
Direct Known Subclasses:
DefaultMinecartController, ExperimentalMinecartController

public abstract class MinecartController extends Object
Mappings:
Namespace Name
named net/minecraft/entity/vehicle/MinecartController
intermediary net/minecraft/class_9878
official csd
  • Field Details

    • minecart

      protected final AbstractMinecartEntity minecart
      Mappings:
      Namespace Name Mixin selector
      named minecart Lnet/minecraft/entity/vehicle/MinecartController;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;
      intermediary field_52520 Lnet/minecraft/class_9878;field_52520:Lnet/minecraft/class_1688;
      official a Lcsd;a:Lcrv;
  • Constructor Details

    • MinecartController

      protected MinecartController(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()
      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)
      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()
      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()
      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()
      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()
      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()
      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)
      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 abstract void tick()
      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
    • getWorld

      public World getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/entity/vehicle/MinecartController;getWorld()Lnet/minecraft/world/World;
      intermediary method_61588 Lnet/minecraft/class_9878;method_61588()Lnet/minecraft/class_1937;
      official h Lcsd;h()Ldhh;
    • moveOnRail

      public abstract void moveOnRail(ServerWorld world)
      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
    • moveAlongTrack

      public abstract double moveAlongTrack(BlockPos blockPos, RailShape railShape, double remainingMovement)
      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 abstract boolean handleCollision()
      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
    • getVelocity

      public Vec3d getVelocity()
      Mappings:
      Namespace Name Mixin selector
      named getVelocity Lnet/minecraft/entity/vehicle/MinecartController;getVelocity()Lnet/minecraft/util/math/Vec3d;
      intermediary method_61590 Lnet/minecraft/class_9878;method_61590()Lnet/minecraft/class_243;
      official j Lcsd;j()Lfbx;
    • setVelocity

      public void setVelocity(Vec3d velocity)
      Mappings:
      Namespace Name Mixin selector
      named setVelocity Lnet/minecraft/entity/vehicle/MinecartController;setVelocity(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_61576 Lnet/minecraft/class_9878;method_61576(Lnet/minecraft/class_243;)V
      official a Lcsd;a(Lfbx;)V
    • setVelocity

      public void setVelocity(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named setVelocity Lnet/minecraft/entity/vehicle/MinecartController;setVelocity(DDD)V
      intermediary method_61579 Lnet/minecraft/class_9878;method_61579(DDD)V
      official b Lcsd;b(DDD)V
    • getPos

      public Vec3d getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/entity/vehicle/MinecartController;getPos()Lnet/minecraft/util/math/Vec3d;
      intermediary method_61591 Lnet/minecraft/class_9878;method_61591()Lnet/minecraft/class_243;
      official k Lcsd;k()Lfbx;
    • getX

      public double getX()
      Mappings:
      Namespace Name Mixin selector
      named getX Lnet/minecraft/entity/vehicle/MinecartController;getX()D
      intermediary method_61592 Lnet/minecraft/class_9878;method_61592()D
      official l Lcsd;l()D
    • getY

      public double getY()
      Mappings:
      Namespace Name Mixin selector
      named getY Lnet/minecraft/entity/vehicle/MinecartController;getY()D
      intermediary method_61593 Lnet/minecraft/class_9878;method_61593()D
      official m Lcsd;m()D
    • getZ

      public double getZ()
      Mappings:
      Namespace Name Mixin selector
      named getZ Lnet/minecraft/entity/vehicle/MinecartController;getZ()D
      intermediary method_61594 Lnet/minecraft/class_9878;method_61594()D
      official n Lcsd;n()D
    • setPos

      public void setPos(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named setPos Lnet/minecraft/entity/vehicle/MinecartController;setPos(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_61581 Lnet/minecraft/class_9878;method_61581(Lnet/minecraft/class_243;)V
      official b Lcsd;b(Lfbx;)V
    • setPos

      public void setPos(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named setPos Lnet/minecraft/entity/vehicle/MinecartController;setPos(DDD)V
      intermediary method_61583 Lnet/minecraft/class_9878;method_61583(DDD)V
      official c Lcsd;c(DDD)V
    • getPitch

      public float getPitch()
      Mappings:
      Namespace Name Mixin selector
      named getPitch Lnet/minecraft/entity/vehicle/MinecartController;getPitch()F
      intermediary method_61595 Lnet/minecraft/class_9878;method_61595()F
      official o Lcsd;o()F
    • setPitch

      public void setPitch(float pitch)
      Mappings:
      Namespace Name Mixin selector
      named setPitch Lnet/minecraft/entity/vehicle/MinecartController;setPitch(F)V
      intermediary method_61575 Lnet/minecraft/class_9878;method_61575(F)V
      official a Lcsd;a(F)V
    • getYaw

      public float getYaw()
      Mappings:
      Namespace Name Mixin selector
      named getYaw Lnet/minecraft/entity/vehicle/MinecartController;getYaw()F
      intermediary method_61596 Lnet/minecraft/class_9878;method_61596()F
      official p Lcsd;p()F
    • setYaw

      public void setYaw(float yaw)
      Mappings:
      Namespace Name Mixin selector
      named setYaw Lnet/minecraft/entity/vehicle/MinecartController;setYaw(F)V
      intermediary method_61580 Lnet/minecraft/class_9878;method_61580(F)V
      official b Lcsd;b(F)V
    • getHorizontalFacing

      public Direction getHorizontalFacing()
      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)
      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 abstract double getMaxSpeed(ServerWorld world)
      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 abstract double getSpeedRetention()
      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