History - net.minecraft.world.entity.vehicle.NewMinecartBehavior

1.21.3

Names

csl

net.minecraft.world.entity.vehicle.NewMinecartBehavior

net.minecraft.class_9879

net.minecraft.entity.vehicle.ExperimentalMinecartController

net.minecraft.world.entity.vehicle.NewMinecartBehavior

Fields

int: b, POS_ROT_LERP_TICKS, field_52527, REFRESH_FREQUENCY

double: c, ON_RAIL_Y_OFFSET, field_52528, field_52528

double: d, OPPOSING_SLOPES_REST_AT_SPEED_THRESHOLD, field_53756, field_53756

NewMinecartBehavior$StepPartialTicks: i, cacheIndexAlpha, field_52533, lastReturnedInterpolatedStep

int: j, cachedLerpDelay, field_52534, lastQueriedTicksToNextRefresh

float: k, cachedPartialTick, field_52535, lastQueriedTickDelta

int: l, lerpDelay, field_52536, ticksToNextRefresh

List<NewMinecartBehavior$MinecartStep>: e, lerpSteps, field_52529, stagingLerpSteps

List<NewMinecartBehavior$MinecartStep>: f, currentLerpSteps, field_52530, currentLerpSteps

double: g, currentLerpStepsTotalWeight, field_52531, totalWeight

NewMinecartBehavior$MinecartStep: h, oldLerp, field_52532, initialStep

Constructors

(AbstractMinecart)

Methods

void (): g, tick, method_61587, tick

void (): u, lerpClientPositionAndRotation, method_61615, tickClient

void (): s, setOldLerpValues, method_61613, setInitialStep

boolean (): t, cartHasPosRotLerp, method_61614, hasCurrentLerpSteps

float (float): c, getCartLerpXRot, method_61607, getLerpedPitch

float (float): d, getCartLerpYRot, method_61608, getLerpedYaw

Vec3 (float): e, getCartLerpPosition, method_61610, getLerpedPosition

Vec3 (float): f, getCartLerpMovements, method_61611, getLerpedVelocity

NewMinecartBehavior$StepPartialTicks (float): g, getCurrentLerpStep, method_61612, getLerpedStep

void (BlockPos, BlockState, boolean): a, adjustToRails, method_61605, adjustToRail

void (float, float): a, setRotation, method_62827, setAngles

void (ServerLevel): a, moveAlongTrack, method_61589, moveOnRail

Vec3 (ServerLevel, Vec3, NewMinecartBehavior$TrackIteration, BlockPos, BlockState, RailShape): a, calculateTrackSpeed, method_61601, calcNewHorizontalVelocity

Vec3 (Vec3, RailShape): a, calculateSlopeSpeed, method_61603, applySlopeVelocity

Vec3 (Vec3): d, calculatePlayerInputSpeed, method_61609, applyInitialVelocity

Vec3 (Vec3, BlockState): a, calculateHaltTrackSpeed, method_61602, decelerateFromPoweredRail

Vec3 (Vec3, BlockPos, BlockState): a, calculateBoostTrackSpeed, method_61604, accelerateFromPoweredRail

double (BlockPos, RailShape, double): a, stepAlongTrack, method_61577, moveAlongTrack

boolean (RailShape, RailShape): a, restAtVShape, method_62828, restOnVShapedTrack

double (ServerLevel): b, getMaxSpeed, method_61598, getMaxSpeed

boolean (Vec3, RailShape): b, isDecending, method_61606, ascends

double (): r, getSlowdownFactor, method_61599, getSpeedRetention

boolean (): i, pushAndPickupEntities, method_62826, handleCollision

boolean (AABB): a, pickupEntities, method_62829, pickUpEntities

boolean (AABB): b, pushEntities, method_62830, pushAwayFromEntities