net.minecraft.world.entity.vehicle

public class NewMinecartBehavior

extends MinecartBehavior

crm
net.minecraft.world.entity.vehicle.NewMinecartBehavior
net.minecraft.class_9879
net.minecraft.unmapped.C_btculrky
net.minecraft.entity.vehicle.ExperimentalMinecartController
net.minecraft.entity.vehicle.ExperimentalMinecartController
net.minecraft.src.C_345796_
net.minecraft.world.entity.vehicle.NewMinecartBehavior

Field summary

Modifier and TypeField
public static final int
b
POS_ROT_LERP_TICKS
field_52527
f_kxhjtdkb
REFRESH_FREQUENCY
REFRESH_TICKS
f_349399_
public static final double
c
ON_RAIL_Y_OFFSET
field_52528
f_icggxsas
field_52528
Y_OFFSET_ON_RAIL
f_348372_
public static final double
d
OPPOSING_SLOPES_REST_AT_SPEED_THRESHOLD
field_53756
f_zosxuhfo
field_53756
V_SHAPED_TRACK_STOP_THRESHOLD
f_349417_
private NewMinecartBehavior$StepPartialTicks
i
cacheIndexAlpha
field_52533
f_yhexcgfs
lastReturnedInterpolatedStep
lastPartialTickStep
f_349245_
private int
j
cachedLerpDelay
field_52534
f_tbzdvaef
lastQueriedTicksToNextRefresh
cachedTicksToNextUpdate
f_346632_
private float
k
cachedPartialTick
field_52535
f_uqdjwxfd
lastQueriedTickDelta
cachedPartialTick
f_348413_
private int
l
lerpDelay
field_52536
f_rhqsxplj
ticksToNextRefresh
ticksToNextUpdate
f_348939_
public final List<NewMinecartBehavior$MinecartStep>
e
lerpSteps
field_52529
f_mnqowxmz
stagingLerpSteps
lerpSteps
f_347380_
public final List<NewMinecartBehavior$MinecartStep>
f
currentLerpSteps
field_52530
f_jbgmphca
currentLerpSteps
currentLerpSteps
f_347974_
public double
g
currentLerpStepsTotalWeight
field_52531
f_ljrpmnlw
totalWeight
currentTotalWeight
f_346315_
public NewMinecartBehavior$MinecartStep
h
oldLerp
field_52532
f_hikwcdre
initialStep
lastLerpStep
f_349312_

Constructor summary

ModifierConstructor
public (AbstractMinecart arg0)

Method summary

Modifier and TypeMethod
public void
g()
tick()
method_61587()
m_snfbperf()
tick()
tick()
m_352175_()
private void
u()
lerpClientPositionAndRotation()
method_61615()
m_zwxvpqxy()
tickClient()
tickClient()
m_355259_()
public void
s()
setOldLerpValues()
method_61613()
m_jbchdtyf()
setInitialStep()
setLastLerpStep()
m_354528_()
public boolean
t()
cartHasPosRotLerp()
method_61614()
m_udvfwekl()
hasCurrentLerpSteps()
hasCurrentLerpSteps()
m_353028_()
public float
c(float arg0)
getCartLerpXRot(float arg0)
method_61607(float arg0)
m_djwrnguw(float arg0)
getLerpedPitch(float tickDelta)
getLerpedPitch(float tickDelta)
m_354419_(float arg0)
public float
d(float arg0)
getCartLerpYRot(float arg0)
method_61608(float arg0)
m_qxvvmicx(float arg0)
getLerpedYaw(float tickDelta)
getLerpedYaw(float tickDelta)
m_352055_(float arg0)
public Vec3
e(float arg0)
getCartLerpPosition(float arg0)
method_61610(float arg0)
m_lysdpqwh(float arg0)
getLerpedPosition(float tickDelta)
getLerpedPos(float tickDelta)
m_354067_(float arg0)
public Vec3
f(float arg0)
getCartLerpMovements(float arg0)
method_61611(float arg0)
m_lzgrxckh(float arg0)
getLerpedVelocity(float tickDelta)
getLerpedVelocity(float tickDelta)
m_356635_(float arg0)
private NewMinecartBehavior$StepPartialTicks
g(float arg0)
getCurrentLerpStep(float arg0)
method_61612(float arg0)
m_qvaafauq(float arg0)
getLerpedStep(float tickDelta)
getPartialTickStep(float tickDelta)
m_356941_(float arg0)
public void
a(ji arg0, dwy arg1, boolean arg2)
adjustToRails(BlockPos arg0, BlockState arg1, boolean arg2)
method_61605(class_2338 arg0, class_2680 arg1, boolean arg2)
m_odbcfrkh(C_hynzadkk arg0, C_txtbiemp arg1, boolean arg2)
adjustToRail(BlockPos pos, BlockState blockState, boolean ignoreWeight)
adjustToRails(BlockPos pos, BlockState state, boolean ignoreWeight)
m_356528_(C_4675_ p_368130_, C_2064_ p_364585_, boolean arg2)
private void
a(float arg0, float arg1)
setRotation(float arg0, float arg1)
method_62827(float arg0, float arg1)
m_izllixuq(float arg0, float arg1)
setAngles(float yaw, float pitch)
setRotation(float yaw, float pitch)
m_354526_(float p_364281_, float arg1)
public void
a(ard arg0)
moveAlongTrack(ServerLevel arg0)
method_61589(class_3218 arg0)
m_wlpowtkk(C_bdwnwhiu arg0)
moveOnRail(ServerWorld arg0)
moveAlongRail(ServerWorld arg0)
m_355605_(C_12_ arg0)
private Vec3
a(ard arg0, fbb arg1, crm$c arg2, ji arg3, dwy arg4, dyb arg5)
calculateTrackSpeed(ServerLevel arg0, Vec3 arg1, NewMinecartBehavior$TrackIteration arg2, BlockPos arg3, BlockState arg4, RailShape arg5)
method_61601(class_3218 arg0, class_243 arg1, class_9879$class_9882 arg2, class_2338 arg3, class_2680 arg4, class_2768 arg5)
m_whxsvdci(C_bdwnwhiu arg0, C_vgpupfxx arg1, C_btculrky$C_yianzbtt arg2, C_hynzadkk arg3, C_txtbiemp arg4, C_wqmdpcsg arg5)
calcNewHorizontalVelocity(ServerWorld world, Vec3d horizontalVelocity, ExperimentalMinecartController$MoveIteration iteration, BlockPos pos, BlockState railState, RailShape railShape)
calculateTrackVelocity(ServerWorld world, Vec3d currentVelocity, ExperimentalMinecartController$MovementIteration iteration, BlockPos pos, BlockState state, RailShape shape)
m_355943_(C_12_ p_367087_, C_3046_ p_364619_, C_345796_$C_345734_ p_368298_, C_4675_ p_363130_, C_2064_ p_369412_, C_2100_ arg5)
private Vec3
a(fbb arg0, dyb arg1)
calculateSlopeSpeed(Vec3 arg0, RailShape arg1)
method_61603(class_243 arg0, class_2768 arg1)
m_yfseascf(C_vgpupfxx arg0, C_wqmdpcsg arg1)
applySlopeVelocity(Vec3d horizontalVelocity, RailShape railShape)
applySlopeAcceleration(Vec3d velocity, RailShape shape)
m_352379_(C_3046_ p_364287_, C_2100_ arg1)
private Vec3
d(fbb arg0)
calculatePlayerInputSpeed(Vec3 arg0)
method_61609(class_243 arg0)
m_udyxcniz(C_vgpupfxx arg0)
applyInitialVelocity(Vec3d horizontalVelocity)
applyPlayerInputVelocity(Vec3d velocity)
m_351943_(C_3046_ arg0)
private Vec3
a(fbb arg0, dwy arg1)
calculateHaltTrackSpeed(Vec3 arg0, BlockState arg1)
method_61602(class_243 arg0, class_2680 arg1)
m_hzzcyntk(C_vgpupfxx arg0, C_txtbiemp arg1)
decelerateFromPoweredRail(Vec3d velocity, BlockState railState)
decelerateFromPoweredRail(Vec3d velocity, BlockState state)
m_357347_(C_3046_ p_362846_, C_2064_ arg1)
private Vec3
a(fbb arg0, ji arg1, dwy arg2)
calculateBoostTrackSpeed(Vec3 arg0, BlockPos arg1, BlockState arg2)
method_61604(class_243 arg0, class_2338 arg1, class_2680 arg2)
m_hptwubgx(C_vgpupfxx arg0, C_hynzadkk arg1, C_txtbiemp arg2)
accelerateFromPoweredRail(Vec3d velocity, BlockPos railPos, BlockState railState)
boostFromPoweredRail(Vec3d velocity, BlockPos pos, BlockState state)
m_356805_(C_3046_ p_361866_, C_4675_ p_368734_, C_2064_ arg2)
public double
a(ji arg0, dyb arg1, double arg2)
stepAlongTrack(BlockPos arg0, RailShape arg1, double arg2)
method_61577(class_2338 arg0, class_2768 arg1, double arg2)
m_gasnuaee(C_hynzadkk arg0, C_wqmdpcsg arg1, double arg2)
moveAlongTrack(BlockPos arg0, RailShape arg1, double arg2)
stepAlongRail(BlockPos arg0, RailShape arg1, double arg2)
m_353264_(C_4675_ p_363897_, C_2100_ p_365231_, double arg2)
private boolean
a(dyb arg0, dyb arg1)
restAtVShape(RailShape arg0, RailShape arg1)
method_62828(class_2768 arg0, class_2768 arg1)
m_kmamcsdp(C_wqmdpcsg arg0, C_wqmdpcsg arg1)
restOnVShapedTrack(RailShape currentRailShape, RailShape newRailShape)
restIfInVShape(RailShape currentRailShape, RailShape nextRailShape)
m_354952_(C_2100_ p_368888_, C_2100_ arg1)
public double
b(ard arg0)
getMaxSpeed(ServerLevel arg0)
method_61598(class_3218 arg0)
m_rxroljgi(C_bdwnwhiu arg0)
getMaxSpeed(ServerWorld arg0)
getMaxSpeed(ServerWorld arg0)
m_351896_(C_12_ arg0)
private boolean
b(fbb arg0, dyb arg1)
isDecending(Vec3 arg0, RailShape arg1)
method_61606(class_243 arg0, class_2768 arg1)
m_xucvbevm(C_vgpupfxx arg0, C_wqmdpcsg arg1)
ascends(Vec3d velocity, RailShape railShape)
isDescending(Vec3d velocity, RailShape shape)
m_352686_(C_3046_ p_368565_, C_2100_ arg1)
public double
r()
getSlowdownFactor()
method_61599()
m_wkvcjkwy()
getSpeedRetention()
getDecelerationFactor()
m_353778_()
public boolean
i()
pushAndPickupEntities()
method_62826()
m_gdmcmdqm()
handleCollision()
handleCollisions()
m_354637_()
public boolean
a(faw arg0)
pickupEntities(AABB arg0)
method_62829(class_238 arg0)
m_tamvnwwk(C_hbcjzgoe arg0)
pickUpEntities(Box box)
pickUpEntities(Box bounds)
m_356816_(C_3040_ arg0)
public boolean
b(faw arg0)
pushEntities(AABB arg0)
method_62830(class_238 arg0)
m_lcsmvxnj(C_hbcjzgoe arg0)
pushAwayFromEntities(Box box)
pushEntities(Box bounds)
m_354226_(C_3040_ arg0)