Package net.minecraft.entity.vehicle
Class MinecartController
java.lang.Object
net.minecraft.entity.vehicle.MinecartController
- Direct Known Subclasses:
DefaultMinecartController,ExperimentalMinecartController
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/MinecartControllerintermediary net/minecraft/class_9878official cpz
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatdoubledoublefloatdoubleabstract doublefloatgetPitch()getPos()abstract doublegetWorld()doublegetX()doublegetY()floatgetYaw()doublegetZ()abstract booleanlimitSpeed(Vec3d velocity) abstract doublemoveAlongTrack(BlockPos blockPos, RailShape railShape, double remainingMovement) abstract voidvoidsetLerpTargetVelocity(double x, double y, double z) voidsetPitch(float pitch) voidsetPos(double x, double y, double z) voidsetPos(double x, double y, double z, float yaw, float pitch, int int2) voidvoidsetVelocity(double x, double y, double z) voidsetVelocity(Vec3d velocity) voidsetYaw(float yaw) abstract voidtick()
-
Field Details
-
minecart
- Mappings:
Namespace Name Mixin selector named minecartLnet/minecraft/entity/vehicle/MinecartController;minecart:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;intermediary field_52520Lnet/minecraft/class_9878;field_52520:Lnet/minecraft/class_1688;official aLcpz;a:Lcps;
-
-
Constructor Details
-
MinecartController
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/vehicle/MinecartController;<init>(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;)Vintermediary <init>Lnet/minecraft/class_9878;<init>(Lnet/minecraft/class_1688;)Vofficial <init>Lcpz;<init>(Lcps;)V
-
-
Method Details
-
setPos
public void setPos(double x, double y, double z, float yaw, float pitch, int int2) - Mappings:
Namespace Name Mixin selector named setPosLnet/minecraft/entity/vehicle/MinecartController;setPos(DDDFFI)Vintermediary method_61574Lnet/minecraft/class_9878;method_61574(DDDFFI)Vofficial aLcpz;a(DDDFFI)V
-
getLerpTargetX
public double getLerpTargetX()- Mappings:
Namespace Name Mixin selector named getLerpTargetXLnet/minecraft/entity/vehicle/MinecartController;getLerpTargetX()Dintermediary method_61572Lnet/minecraft/class_9878;method_61572()Dofficial aLcpz;a()D
-
getLerpTargetY
public double getLerpTargetY()- Mappings:
Namespace Name Mixin selector named getLerpTargetYLnet/minecraft/entity/vehicle/MinecartController;getLerpTargetY()Dintermediary method_61578Lnet/minecraft/class_9878;method_61578()Dofficial bLcpz;b()D
-
getLerpTargetZ
public double getLerpTargetZ()- Mappings:
Namespace Name Mixin selector named getLerpTargetZLnet/minecraft/entity/vehicle/MinecartController;getLerpTargetZ()Dintermediary method_61582Lnet/minecraft/class_9878;method_61582()Dofficial cLcpz;c()D
-
getLerpTargetPitch
public float getLerpTargetPitch()- Mappings:
Namespace Name Mixin selector named getLerpTargetPitchLnet/minecraft/entity/vehicle/MinecartController;getLerpTargetPitch()Fintermediary method_61585Lnet/minecraft/class_9878;method_61585()Fofficial dLcpz;d()F
-
getLerpTargetYaw
public float getLerpTargetYaw()- Mappings:
Namespace Name Mixin selector named getLerpTargetYawLnet/minecraft/entity/vehicle/MinecartController;getLerpTargetYaw()Fintermediary method_61586Lnet/minecraft/class_9878;method_61586()Fofficial eLcpz;e()F
-
setLerpTargetVelocity
public void setLerpTargetVelocity(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named setLerpTargetVelocityLnet/minecraft/entity/vehicle/MinecartController;setLerpTargetVelocity(DDD)Vintermediary method_61573Lnet/minecraft/class_9878;method_61573(DDD)Vofficial aLcpz;a(DDD)V
-
tick
public abstract void tick()- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/vehicle/MinecartController;tick()Vintermediary method_61587Lnet/minecraft/class_9878;method_61587()Vofficial fLcpz;f()V
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/entity/vehicle/MinecartController;getWorld()Lnet/minecraft/world/World;intermediary method_61588Lnet/minecraft/class_9878;method_61588()Lnet/minecraft/class_1937;official gLcpz;g()Ldeg;
-
moveOnRail
public abstract void moveOnRail()- Mappings:
Namespace Name Mixin selector named moveOnRailLnet/minecraft/entity/vehicle/MinecartController;moveOnRail()Vintermediary method_61589Lnet/minecraft/class_9878;method_61589()Vofficial hLcpz;h()V
-
moveAlongTrack
public abstract double moveAlongTrack(BlockPos blockPos, RailShape railShape, double remainingMovement) - Mappings:
Namespace Name Mixin selector named moveAlongTrackLnet/minecraft/entity/vehicle/MinecartController;moveAlongTrack(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/enums/RailShape;D)Dintermediary method_61577Lnet/minecraft/class_9878;method_61577(Lnet/minecraft/class_2338;Lnet/minecraft/class_2768;D)Dofficial aLcpz;a(Lje;Ldvs;D)D
-
handleCollision
public abstract boolean handleCollision()- Mappings:
Namespace Name Mixin selector named handleCollisionLnet/minecraft/entity/vehicle/MinecartController;handleCollision()Zintermediary method_62826Lnet/minecraft/class_9878;method_62826()Zofficial iLcpz;i()Z
-
getVelocity
- Mappings:
Namespace Name Mixin selector named getVelocityLnet/minecraft/entity/vehicle/MinecartController;getVelocity()Lnet/minecraft/util/math/Vec3d;intermediary method_61590Lnet/minecraft/class_9878;method_61590()Lnet/minecraft/class_243;official jLcpz;j()Leys;
-
setVelocity
- Mappings:
Namespace Name Mixin selector named setVelocityLnet/minecraft/entity/vehicle/MinecartController;setVelocity(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_61576Lnet/minecraft/class_9878;method_61576(Lnet/minecraft/class_243;)Vofficial aLcpz;a(Leys;)V
-
setVelocity
public void setVelocity(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named setVelocityLnet/minecraft/entity/vehicle/MinecartController;setVelocity(DDD)Vintermediary method_61579Lnet/minecraft/class_9878;method_61579(DDD)Vofficial bLcpz;b(DDD)V
-
getPos
- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/entity/vehicle/MinecartController;getPos()Lnet/minecraft/util/math/Vec3d;intermediary method_61591Lnet/minecraft/class_9878;method_61591()Lnet/minecraft/class_243;official kLcpz;k()Leys;
-
getX
public double getX()- Mappings:
Namespace Name Mixin selector named getXLnet/minecraft/entity/vehicle/MinecartController;getX()Dintermediary method_61592Lnet/minecraft/class_9878;method_61592()Dofficial lLcpz;l()D
-
getY
public double getY()- Mappings:
Namespace Name Mixin selector named getYLnet/minecraft/entity/vehicle/MinecartController;getY()Dintermediary method_61593Lnet/minecraft/class_9878;method_61593()Dofficial mLcpz;m()D
-
getZ
public double getZ()- Mappings:
Namespace Name Mixin selector named getZLnet/minecraft/entity/vehicle/MinecartController;getZ()Dintermediary method_61594Lnet/minecraft/class_9878;method_61594()Dofficial nLcpz;n()D
-
setPos
- Mappings:
Namespace Name Mixin selector named setPosLnet/minecraft/entity/vehicle/MinecartController;setPos(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_61581Lnet/minecraft/class_9878;method_61581(Lnet/minecraft/class_243;)Vofficial bLcpz;b(Leys;)V
-
setPos
public void setPos(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named setPosLnet/minecraft/entity/vehicle/MinecartController;setPos(DDD)Vintermediary method_61583Lnet/minecraft/class_9878;method_61583(DDD)Vofficial cLcpz;c(DDD)V
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector named getPitchLnet/minecraft/entity/vehicle/MinecartController;getPitch()Fintermediary method_61595Lnet/minecraft/class_9878;method_61595()Fofficial oLcpz;o()F
-
setPitch
public void setPitch(float pitch) - Mappings:
Namespace Name Mixin selector named setPitchLnet/minecraft/entity/vehicle/MinecartController;setPitch(F)Vintermediary method_61575Lnet/minecraft/class_9878;method_61575(F)Vofficial aLcpz;a(F)V
-
getYaw
public float getYaw()- Mappings:
Namespace Name Mixin selector named getYawLnet/minecraft/entity/vehicle/MinecartController;getYaw()Fintermediary method_61596Lnet/minecraft/class_9878;method_61596()Fofficial pLcpz;p()F
-
setYaw
public void setYaw(float yaw) - Mappings:
Namespace Name Mixin selector named setYawLnet/minecraft/entity/vehicle/MinecartController;setYaw(F)Vintermediary method_61580Lnet/minecraft/class_9878;method_61580(F)Vofficial bLcpz;b(F)V
-
getHorizontalFacing
- Mappings:
Namespace Name Mixin selector named getHorizontalFacingLnet/minecraft/entity/vehicle/MinecartController;getHorizontalFacing()Lnet/minecraft/util/math/Direction;intermediary method_61597Lnet/minecraft/class_9878;method_61597()Lnet/minecraft/class_2350;official qLcpz;q()Ljj;
-
limitSpeed
- Mappings:
Namespace Name Mixin selector named limitSpeedLnet/minecraft/entity/vehicle/MinecartController;limitSpeed(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_61584Lnet/minecraft/class_9878;method_61584(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official cLcpz;c(Leys;)Leys;
-
getMaxSpeed
public abstract double getMaxSpeed()- Mappings:
Namespace Name Mixin selector named getMaxSpeedLnet/minecraft/entity/vehicle/MinecartController;getMaxSpeed()Dintermediary method_61598Lnet/minecraft/class_9878;method_61598()Dofficial rLcpz;r()D
-
getSpeedRetention
public abstract double getSpeedRetention()- Mappings:
Namespace Name Mixin selector named getSpeedRetentionLnet/minecraft/entity/vehicle/MinecartController;getSpeedRetention()Dintermediary method_61599Lnet/minecraft/class_9878;method_61599()Dofficial sLcpz;s()D
-