net.minecraft.world.entity.vehicle

public abstract class AbstractMinecart

extends VehicleEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

crw
net.minecraft.world.entity.vehicle.AbstractMinecart
net.minecraft.class_1688
net.minecraft.unmapped.C_tahhkgty
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.src.C_1201_
net.minecraft.world.entity.vehicle.EntityMinecartAbstract

Field summary

Modifier and TypeField
private static final Vec3
b
LOWERED_PASSENGER_ATTACHMENT
field_47822
f_figrvmbr
VILLAGER_PASSENGER_ATTACHMENT_POS
VILLAGER_PASSENGER_ATTACHMENT_POS
f_315476_
private static final EntityDataAccessor<Integer>
c
DATA_ID_DISPLAY_BLOCK
field_7671
f_revdcqip
CUSTOM_BLOCK_ID
CUSTOM_BLOCK_ID
f_38082_
private static final EntityDataAccessor<Integer>
d
DATA_ID_DISPLAY_OFFSET
field_7661
f_tbmsamms
CUSTOM_BLOCK_OFFSET
CUSTOM_BLOCK_OFFSET
f_38083_
private static final EntityDataAccessor<Boolean>
h
DATA_ID_CUSTOM_DISPLAY
field_7670
f_bsiwllkc
CUSTOM_BLOCK_PRESENT
CUSTOM_BLOCK_PRESENT
f_38084_
private static final com.google.common.collect.ImmutableMap<Pose, com.google.common.collect.ImmutableList<Integer>>
i
POSE_DISMOUNT_HEIGHTS
field_24464
f_anmyjaty
DISMOUNT_FREE_Y_SPACES_NEEDED
DISMOUNT_FREE_Y_SPACES_NEEDED
f_38067_
protected static final float
a
WATER_SLOWDOWN_FACTOR
field_30694
f_vzjwqsmo
VELOCITY_SLOWDOWN_MULTIPLIER
WATER_SLOWDOWN_FACTOR
f_150249_
private boolean
j
onRails
field_44917
f_eskwdyms
onRail
onRails
f_287786_
private boolean
k
flipped
field_7660
f_lotwtnbj
yawFlipped
yawFlipped
f_38068_
private final MinecartBehavior
l
behavior
field_52517
f_jhroxpze
controller
controller
f_348211_
private static final Map<RailShape, com.mojang.datafixers.util.Pair<Vec3i, Vec3i>>
m
EXITS
field_7664
f_cbqkmsxd
ADJACENT_RAIL_POSITIONS_BY_SHAPE
ADJACENT_RAIL_POSITIONS_BY_SHAPE
f_38069_

Constructor summary

ModifierConstructor
protected (EntityType<?> p_38088_, Level world)
protected (EntityType<?> type, Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public void
p(double arg0, double arg1, double arg2)
setInitialPos(double arg0, double arg1, double arg2)
method_64275(double arg0, double arg1, double arg2)
m_eipriqms(double arg0, double arg1, double arg2)
initPosition(double x, double y, double z)
initPos(double x, double y, double z)
m_355617_(double p_369805_, double arg1, double arg2)
public static <T extends AbstractMinecart> T
a(dhi arg0, double arg1, double arg2, double arg3, bvr<T> arg4, bvq arg5, cxp arg6, cpx arg7)
createMinecart(Level arg0, double arg1, double arg2, double arg3, EntityType<T> arg4, EntitySpawnReason arg5, ItemStack arg6, Player arg7)
method_7523(class_1937 arg0, double arg1, double arg2, double arg3, class_1299<T> arg4, class_3730 arg5, class_1799 arg6, class_1657 arg7)
m_ounzrtxb(C_cdctfzbn arg0, double arg1, double arg2, double arg3, C_ogavsvbr<T> arg4, C_bhyaesep arg5, C_sddaxwyk arg6, C_jzrpycqo arg7)
create(World world, double x, double y, double z, EntityType<T> type, SpawnReason reason, ItemStack stack, PlayerEntity player)
create(World world, double x, double y, double z, EntityType<T> type, SpawnReason reason, ItemStack stack, PlayerEntity player)
m_38119_(C_1596_ p_368792_, double p_38121_, double p_38123_, double p_365925_, C_513_<T> p_310754_, C_345845_ arg5, C_1391_ arg6, C_1141_ arg7)
public MinecartBehavior
l()
getBehavior()
method_61569()
m_pzrmwujl()
getController()
getController()
m_356823_()
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
m_142319_()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
i(bvk arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
m_cjtrtfdq(C_astfners arg0)
collidesWith(Entity arg0)
collidesWith(Entity arg0)
m_7337_(C_507_ arg0)
public boolean
bI()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
isPushable()
m_6094_()
public Vec3
a(jm$a arg0, l$a arg1)
getRelativePortalPosition(Direction$Axis arg0, BlockUtil$FoundRectangle arg1)
method_30633(class_2350$class_2351 arg0, class_5459$class_5460 arg1)
m_dofvpclc(C_xpuuihxf$C_rmpfouoz arg0, C_wauhtoaq$C_tqypnjit arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
m_7643_(C_4687_$C_4689_ p_38133_, C_4777_$C_4778_ arg1)
protected Vec3
a(bvk arg0, bvn arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
m_xwkoqqtf(C_astfners arg0, C_sszpscpo arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_293035_(C_507_ p_300201_, C_510_ p_299127_, float arg2)
public Vec3
b(bwg arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
m_uoqfuwph(C_usxaxydn arg0)
updatePassengerForDismount(LivingEntity arg0)
updatePassengerForDismount(LivingEntity arg0)
m_7688_(C_524_ arg0)
protected float
aT()
getBlockSpeedFactor()
method_23326()
m_vxtgbqxt()
getVelocityMultiplier()
getVelocityMultiplier()
m_6041_()
public void
p(float arg0)
animateHurt(float arg0)
method_5879(float arg0)
m_yndwkmtt(float arg0)
animateDamage(float arg0)
animateDamage(float arg0)
m_6053_(float arg0)
public boolean
bH()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public static com.mojang.datafixers.util.Pair<Vec3i, Vec3i>
a(dyy arg0)
exits(RailShape arg0)
method_22864(class_2768 arg0)
m_wlixjjti(C_wqmdpcsg arg0)
getAdjacentRailPositionsByShape(RailShape shape)
getAdjacentRailPositionsByShape(RailShape shape)
m_38125_(C_2100_ p_38126_)
public Direction
cP()
getMotionDirection()
method_5755()
m_egrevgdy()
getMovementDirection()
getMovementDirection()
m_6374_()
protected double
bd()
getDefaultGravity()
method_7490()
m_pvspcngk()
getGravity()
getDefaultGravity()
m_319564_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public boolean
m()
isFirstTick()
method_62824()
m_inslfgor()
isFirstUpdate()
isFirstUpdate()
m_355111_()
public BlockPos
p()
getCurrentBlockPosOrRailBelow()
method_62825()
m_zvxsupdf()
getRailOrMinecartPos()
locateAffectingRailOrSelf()
m_356679_()
protected double
a(ash arg0)
getMaxSpeed(ServerLevel arg0)
method_7504(class_3218 arg0)
m_xemvwdlu(C_bdwnwhiu arg0)
getMaxSpeed(ServerWorld world)
getMaxSpeed(ServerWorld world)
m_7097_(C_12_ arg0)
public void
a(int arg0, int arg1, int arg2, boolean arg3)
activateMinecart(int arg0, int arg1, int arg2, boolean arg3)
method_7506(int arg0, int arg1, int arg2, boolean arg3)
m_cnkjmfhl(int arg0, int arg1, int arg2, boolean arg3)
onActivatorRail(int x, int y, int z, boolean powered)
onActivatorRail(int x, int y, int z, boolean powered)
m_6025_(int p_38112_, int p_38113_, int p_38114_, boolean arg3)
public void
a(int arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
lerpPositionAndRotationStep(int arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
method_52532(int arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
m_tctkucqa(int arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
lerpPosAndRotation(int arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
lerpPosAndRotation(int arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
m_293725_(int p_361925_, double p_362778_, double p_360914_, double arg3, double arg4, double arg5)
public void
bf()
applyGravity()
method_56990()
m_uidprvfr()
applyGravity()
applyGravity()
m_320756_()
public void
ay()
reapplyPosition()
method_23311()
m_zbffjahn()
refreshPosition()
refreshPosition()
m_20090_()
public boolean
bq()
updateInWaterStateAndDoFluidPushing()
method_5876()
m_iadcwgxh()
updateWaterState()
updateWaterState()
m_20073_()
public Vec3
ah()
getKnownMovement()
method_60478()
m_roxbbrfe()
getMovement()
getMovement()
m_339221_()
public void
f_()
cancelLerp()
method_64610()
m_lxlqiklm()
resetLerp()
cancelLerp()
m_216997_()
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5)
m_6453_(double p_38103_, double p_38105_, double p_38107_, float arg3, float arg4, int arg5)
public double
R_()
lerpTargetX()
method_53830()
m_dzufvcbo()
getLerpTargetX()
getLerpTargetX()
m_293268_()
public double
S_()
lerpTargetY()
method_53827()
m_luuqxfqy()
getLerpTargetY()
getLerpTargetY()
m_294059_()
public double
g_()
lerpTargetZ()
method_53828()
m_oagnumwt()
getLerpTargetZ()
getLerpTargetZ()
m_292720_()
public float
r_()
lerpTargetXRot()
method_53829()
m_gakqenyv()
getLerpTargetPitch()
getLerpTargetPitch()
m_293123_()
public float
h_()
lerpTargetYRot()
method_53831()
m_jnzyorkg()
getLerpTargetYaw()
getLerpTargetYaw()
m_294172_()
public void
l(double arg0, double arg1, double arg2)
lerpMotion(double arg0, double arg1, double arg2)
method_5750(double arg0, double arg1, double arg2)
m_onpbziok(double arg0, double arg1, double arg2)
setVelocityClient(double arg0, double arg1, double arg2)
setVelocityClient(double arg0, double arg1, double arg2)
m_6001_(double p_38172_, double arg1, double arg2)
protected void
b(ash arg0)
moveAlongTrack(ServerLevel arg0)
method_7513(class_3218 arg0)
m_simptyqn(C_bdwnwhiu arg0)
moveOnRail(ServerWorld world)
moveOnRail(ServerWorld world)
m_6401_(C_12_ arg0)
protected void
e(ash arg0)
comeOffTrack(ServerLevel arg0)
method_7512(class_3218 arg0)
m_yrpbpsae(C_bdwnwhiu arg0)
moveOffRail(ServerWorld world)
moveOffRail(ServerWorld world)
m_38163_(C_12_ arg0)
protected double
a(jh arg0, dyy arg1, double arg2)
makeStepAlongTrack(BlockPos arg0, RailShape arg1, double arg2)
method_61564(class_2338 arg0, class_2768 arg1, double arg2)
m_ydndwdak(C_hynzadkk arg0, C_wqmdpcsg arg1, double arg2)
moveAlongTrack(BlockPos pos, RailShape shape, double remainingMovement)
stepAlongRail(BlockPos pos, RailShape shape, double remainingMovement)
m_354682_(C_4675_ p_364631_, C_2100_ p_369237_, double arg2)
public void
a(bwk arg0, fby arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
m_zcvlfcid(C_eojqvxuw arg0, C_vgpupfxx arg1)
move(MovementType arg0, Vec3d arg1)
move(MovementType arg0, Vec3d arg1)
m_6478_(C_531_ p_364999_, C_3046_ arg1)
public void
aK()
applyEffectsFromBlocks()
method_61409()
m_hwaiduvv()
tickBlockCollision()
applyBlockCollisionEffects()
m_352051_()
public boolean
cq()
isOnRails()
method_52172()
m_vcemmyqu()
isOnRail()
isOnRailTracks()
m_288188_()
public void
a(boolean arg0)
setOnRails(boolean arg0)
method_61565(boolean arg0)
m_masylmsi(boolean arg0)
setOnRail(boolean onRail)
setOnRails(boolean onRails)
m_354709_(boolean arg0)
public boolean
s()
isFlipped()
method_61571()
m_hxgtbizm()
isYawFlipped()
isYawFlipped()
m_357074_()
public void
b(boolean arg0)
setFlipped(boolean arg0)
method_61567(boolean arg0)
m_gwoyqxww(boolean arg0)
setYawFlipped(boolean yawFlipped)
setYawFlipped(boolean yawFlipped)
m_355593_(boolean arg0)
public Vec3
a(jh arg0)
getRedstoneDirection(BlockPos arg0)
method_61563(class_2338 arg0)
m_afluazez(C_hynzadkk arg0)
getLaunchDirection(BlockPos railPos)
getPowerDirection(BlockPos pos)
m_357425_(C_4675_ arg0)
public boolean
b(jh arg0)
isRedstoneConductor(BlockPos arg0)
method_18803(class_2338 arg0)
m_xtdpuoft(C_hynzadkk arg0)
willHitBlockAt(BlockPos pos)
willHitBlockAt(BlockPos pos)
m_38129_(C_4675_ arg0)
protected Vec3
a(fby arg0)
applyNaturalSlowdown(Vec3 arg0)
method_7525(class_243 arg0)
m_yvrwkcqb(C_vgpupfxx arg0)
applySlowdown(Vec3d velocity)
applySlowdown(Vec3d velocity)
m_7114_(C_3046_ arg0)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
h(bvk arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
m_ysnccdty(C_astfners arg0)
pushAwayFrom(Entity arg0)
pushAwayFrom(Entity arg0)
m_7334_(C_507_ arg0)
private void
a(crw arg0, double arg1, double arg2)
pushOtherMinecart(AbstractMinecart arg0, double arg1, double arg2)
method_64274(class_1688 arg0, double arg1, double arg2)
m_zmsijsbh(C_tahhkgty arg0, double arg1, double arg2)
pushAwayFromMinecart(AbstractMinecartEntity entity, double xDiff, double zDiff)
pushOtherMinecart(AbstractMinecartEntity minecart, double xOverlap, double zOverlap)
m_356029_(C_1201_ p_365746_, double p_363827_, double arg2)
public BlockState
t()
getDisplayBlockState()
method_7519()
m_upansguo()
getContainedBlock()
getContainedBlock()
m_38178_()
public BlockState
w()
getDefaultDisplayBlockState()
method_7517()
m_staqlmtx()
getDefaultContainedBlock()
getDefaultContainedBlock()
m_6390_()
public int
y()
getDisplayOffset()
method_7514()
m_hdngxmge()
getBlockOffset()
getBlockOffset()
m_38183_()
public int
z()
getDefaultDisplayOffset()
method_7526()
m_vptdbzfe()
getDefaultBlockOffset()
getDefaultBlockOffset()
m_7144_()
public void
c(dxv arg0)
setDisplayBlockState(BlockState arg0)
method_7527(class_2680 arg0)
m_glkhmiur(C_txtbiemp arg0)
setCustomBlock(BlockState state)
setCustomBlock(BlockState state)
m_38146_(C_2064_ arg0)
public void
c(int arg0)
setDisplayOffset(int arg0)
method_7515(int arg0)
m_xmlhrgqq(int arg0)
setCustomBlockOffset(int offset)
setCustomBlockOffset(int offset)
m_38174_(int arg0)
public boolean
A()
hasCustomDisplay()
method_7510()
m_zqqbmhzn()
hasCustomBlock()
hasCustomBlock()
m_38184_()
public void
r(boolean arg0)
setCustomDisplay(boolean arg0)
method_7511(boolean arg0)
m_wyyhprrj(boolean arg0)
setCustomBlockPresent(boolean present)
setCustomBlockPresent(boolean present)
m_38138_(boolean arg0)
public static boolean
b(dhi arg0)
useExperimentalMovement(Level arg0)
method_61566(class_1937 arg0)
m_raaevxrz(C_cdctfzbn arg0)
areMinecartImprovementsEnabled(World world)
isNewBehaviorActive(World world)
m_356599_(C_1596_ p_368699_)
public abstract ItemStack
dJ()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()
m_142340_()
public boolean
D()
isRideable()
method_64272()
m_alrnhgzw()
isRideable()
isRideable()
m_354195_()
public boolean
E()
isFurnace()
method_64273()
m_rpovghnz()
isSelfPropelling()
isSelfPropelling()
m_353492_()