net.minecraft.world.entity.vehicle

public class NewMinecartBehavior

extends MinecartBehavior

csl
net.minecraft.world.entity.vehicle.NewMinecartBehavior
net.minecraft.class_9879
net.minecraft.unmapped.C_btculrky
net.minecraft.entity.vehicle.ExperimentalMinecartController
net.minecraft.unmapped.C_btculrky
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
f_349399_
public static final double
c
ON_RAIL_Y_OFFSET
field_52528
f_icggxsas
field_52528
f_348372_
public static final double
d
OPPOSING_SLOPES_REST_AT_SPEED_THRESHOLD
field_53756
f_zosxuhfo
field_53756
f_349417_
private NewMinecartBehavior$StepPartialTicks
i
cacheIndexAlpha
field_52533
f_yhexcgfs
lastReturnedInterpolatedStep
f_349245_
private int
j
cachedLerpDelay
field_52534
f_tbzdvaef
lastQueriedTicksToNextRefresh
f_346632_
private float
k
cachedPartialTick
field_52535
f_uqdjwxfd
lastQueriedTickDelta
f_348413_
private int
l
lerpDelay
field_52536
f_rhqsxplj
ticksToNextRefresh
f_348939_
public final List<NewMinecartBehavior$MinecartStep>
e
lerpSteps
field_52529
f_mnqowxmz
stagingLerpSteps
f_347380_
public final List<NewMinecartBehavior$MinecartStep>
f
currentLerpSteps
field_52530
f_jbgmphca
currentLerpSteps
f_347974_
public double
g
currentLerpStepsTotalWeight
field_52531
f_ljrpmnlw
totalWeight
f_346315_
public NewMinecartBehavior$MinecartStep
h
oldLerp
field_52532
f_hikwcdre
initialStep
f_349312_

Constructor summary

ModifierConstructor
public (AbstractMinecart arg0)

Method summary

Modifier and TypeMethod
public void
g()
tick()
method_61587()
m_snfbperf()
tick()
m_352175_()
private void
u()
lerpClientPositionAndRotation()
method_61615()
m_zwxvpqxy()
tickClient()
m_355259_()
public void
s()
setOldLerpValues()
method_61613()
m_jbchdtyf()
setInitialStep()
m_354528_()
public boolean
t()
cartHasPosRotLerp()
method_61614()
m_udvfwekl()
hasCurrentLerpSteps()
m_353028_()
public float
c(float arg0)
getCartLerpXRot(float arg0)
method_61607(float arg0)
m_djwrnguw(float arg0)
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)
m_352055_(float arg0)
public Vec3
e(float arg0)
getCartLerpPosition(float arg0)
method_61610(float arg0)
m_lysdpqwh(float arg0)
getLerpedPosition(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)
m_356635_(float arg0)
private NewMinecartBehavior$StepPartialTicks
g(float arg0)
getCurrentLerpStep(float arg0)
method_61612(float arg0)
m_qvaafauq(float arg0)
getLerpedStep(float tickDelta)
m_356941_(float arg0)
public void
a(jh arg0, dxv 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)
m_odbcfrkh(BlockPos pos, BlockState state, boolean arg2)
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)
m_354526_(float p_364281_, float arg1)
public void
a(ash arg0)
moveAlongTrack(ServerLevel arg0)
method_61589(class_3218 arg0)
m_wlpowtkk(C_bdwnwhiu arg0)
moveOnRail(ServerWorld arg0)
m_wlpowtkk(ServerWorld arg0)
m_355605_(C_12_ arg0)
private Vec3
a(ash arg0, fby arg1, csl$c arg2, jh arg3, dxv arg4, dyy 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)
m_whxsvdci(ServerWorld world, Vec3d arg1, C_btculrky$C_yianzbtt arg2, BlockPos pos, BlockState state, RailShape arg5)
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(fby arg0, dyy 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)
m_352379_(C_3046_ p_364287_, C_2100_ arg1)
private Vec3
d(fby arg0)
calculatePlayerInputSpeed(Vec3 arg0)
method_61609(class_243 arg0)
m_udyxcniz(C_vgpupfxx arg0)
applyInitialVelocity(Vec3d horizontalVelocity)
m_351943_(C_3046_ arg0)
private Vec3
a(fby arg0, dxv 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)
m_hzzcyntk(Vec3d arg0, BlockState state)
m_357347_(C_3046_ p_362846_, C_2064_ arg1)
private Vec3
a(fby arg0, jh arg1, dxv 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)
m_hptwubgx(Vec3d arg0, BlockPos pos, BlockState state)
m_356805_(C_3046_ p_361866_, C_4675_ p_368734_, C_2064_ arg2)
public double
a(jh arg0, dyy 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)
m_gasnuaee(BlockPos arg0, RailShape arg1, double arg2)
m_353264_(C_4675_ p_363897_, C_2100_ p_365231_, double arg2)
private boolean
a(dyy arg0, dyy 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)
m_354952_(C_2100_ p_368888_, C_2100_ arg1)
public double
b(ash arg0)
getMaxSpeed(ServerLevel arg0)
method_61598(class_3218 arg0)
m_rxroljgi(C_bdwnwhiu arg0)
getMaxSpeed(ServerWorld arg0)
m_rxroljgi(ServerWorld arg0)
m_351896_(C_12_ arg0)
private boolean
b(fby arg0, dyy 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)
m_352686_(C_3046_ p_368565_, C_2100_ arg1)
public double
r()
getSlowdownFactor()
method_61599()
m_wkvcjkwy()
getSpeedRetention()
m_353778_()
public boolean
i()
pushAndPickupEntities()
method_62826()
m_gdmcmdqm()
handleCollision()
m_354637_()
public boolean
a(fbt arg0)
pickupEntities(AABB arg0)
method_62829(class_238 arg0)
m_tamvnwwk(C_hbcjzgoe arg0)
pickUpEntities(Box box)
m_356816_(C_3040_ arg0)
public boolean
b(fbt arg0)
pushEntities(AABB arg0)
method_62830(class_238 arg0)
m_lcsmvxnj(C_hbcjzgoe arg0)
pushAwayFromEntities(Box box)
m_354226_(C_3040_ arg0)