net.minecraft.world.entity.vehicle

public abstract class AbstractMinecart

extends VehicleEntity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder

cha
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 float
c
LOWERED_PASSENGER_ATTACHMENT_Y
field_46219
f_lbvwzctx
VILLAGER_PASSENGER_ATTACHMENT_Y_OFFSET
f_301872_
private static final float
d
PASSENGER_ATTACHMENT_Y
field_46214
f_ysnhyiwg
PASSENGER_ATTACHMENT_Y_OFFSET
f_301847_
private static final EntityDataAccessor<Integer>
e
DATA_ID_DISPLAY_BLOCK
field_7671
f_revdcqip
CUSTOM_BLOCK_ID
CUSTOM_BLOCK_ID
f_38082_
private static final EntityDataAccessor<Integer>
i
DATA_ID_DISPLAY_OFFSET
field_7661
f_tbmsamms
CUSTOM_BLOCK_OFFSET
CUSTOM_BLOCK_OFFSET
f_38083_
private static final EntityDataAccessor<Boolean>
j
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>>
k
POSE_DISMOUNT_HEIGHTS
field_24464
f_anmyjaty
DISMOUNT_FREE_Y_SPACES_NEEDED
DISMOUNT_FREE_Y_SPACES_NEEDED
f_38067_
protected static final float
b
WATER_SLOWDOWN_FACTOR
field_30694
f_vzjwqsmo
VELOCITY_SLOWDOWN_MULTIPLIER
WATER_SLOWDOWN_FACTOR
f_150249_
private boolean
l
flipped
field_7660
f_lotwtnbj
yawFlipped
yawFlipped
f_38068_
private boolean
m
onRails
field_44917
f_eskwdyms
onRail
onRails
f_287786_
private int
n
lerpSteps
field_45135
f_ugiqsmjh
clientInterpolationSteps
f_291139_
private double
o
lerpX
field_45136
f_myywtqgv
clientX
f_291843_
private double
p
lerpY
field_45137
f_wansaayc
clientY
f_291771_
private double
q
lerpZ
field_45138
f_bvzhmaxx
clientZ
f_290379_
private double
r
lerpYRot
field_45139
f_zcmodjhw
clientYaw
f_291345_
private double
s
lerpXRot
field_45140
f_nerhlksr
clientPitch
f_290838_
private Vec3
t
targetDeltaMovement
field_45141
f_amvjthhq
clientVelocity
f_290580_
private static final Map<RailShape, com.mojang.datafixers.util.Pair<Vec3i, Vec3i>>
u
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 arg1)
protected (EntityType<?> type, Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public static AbstractMinecart
a(and arg0, double arg1, double arg2, double arg3, cha$a arg4, cmy arg5, cfi arg6)
createMinecart(ServerLevel arg0, double arg1, double arg2, double arg3, AbstractMinecart$Type arg4, ItemStack arg5, Player arg6)
method_7523(class_3218 arg0, double arg1, double arg2, double arg3, class_1688$class_1689 arg4, class_1799 arg5, class_1657 arg6)
m_ounzrtxb(C_bdwnwhiu arg0, double arg1, double arg2, double arg3, C_tahhkgty$C_osuhqmhw arg4, C_sddaxwyk arg5, C_jzrpycqo arg6)
create(ServerWorld world, double x, double y, double z, AbstractMinecartEntity$Type type, ItemStack stack, PlayerEntity player)
create(ServerWorld world, double x, double y, double z, AbstractMinecartEntity$Type type, ItemStack stack, PlayerEntity arg6)
m_38119_(C_12_ p_310486_, double p_38121_, double p_38123_, double p_311363_, C_1201_$C_1203_ arg4, C_1391_ arg5, C_1141_ arg6)
protected Entity$MovementEmission
aW()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
m_142319_()
protected void
c_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public boolean
h(blv 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
bu()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
isPushable()
m_6094_()
protected Vec3
a(ic$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 org.joml.Vector3f
a(blv arg0, blw 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)
m_292594_(C_507_ p_300201_, C_510_ p_299127_, float arg2)
public Vec3
b(bml 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
aL()
getBlockSpeedFactor()
method_23326()
m_vxtgbqxt()
getVelocityMultiplier()
getVelocityMultiplier()
m_6041_()
public void
m(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
bt()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
private static com.mojang.datafixers.util.Pair<Vec3i, Vec3i>
a(dkl 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
cF()
getMotionDirection()
method_5755()
m_egrevgdy()
getMovementDirection()
getMovementDirection()
m_6374_()
public void
l()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
protected double
q()
getMaxSpeed()
method_7504()
m_xemvwdlu()
getMaxSpeed()
getMaxOffRailSpeed()
m_7097_()
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)
protected void
s()
comeOffTrack()
method_7512()
m_yrpbpsae()
moveOffRail()
moveOffRail()
m_38163_()
protected void
c(hx arg0, djh arg1)
moveAlongTrack(BlockPos arg0, BlockState arg1)
method_7513(class_2338 arg0, class_2680 arg1)
m_simptyqn(C_hynzadkk arg0, C_txtbiemp arg1)
moveOnRail(BlockPos pos, BlockState state)
moveOnRail(BlockPos pos, BlockState state)
m_6401_(C_4675_ p_38157_, C_2064_ arg1)
public boolean
cf()
isOnRails()
method_52172()
m_vcemmyqu()
isOnRail()
isOnRailTracks()
m_288188_()
private boolean
a(hx 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 void
u()
applyNaturalSlowdown()
method_7525()
m_yvrwkcqb()
applySlowdown()
applySlowdown()
m_7114_()
public Vec3
a(double arg0, double arg1, double arg2, double arg3)
getPosOffs(double arg0, double arg1, double arg2, double arg3)
method_7505(double arg0, double arg1, double arg2, double arg3)
m_rfiyibeq(double arg0, double arg1, double arg2, double arg3)
snapPositionToRailWithOffset(double x, double y, double z, double offset)
snapPositionToRailWithOffset(double x, double y, double z, double offset)
m_38096_(double p_38098_, double p_38100_, double arg2, double arg3)
public Vec3
q(double arg0, double arg1, double arg2)
getPos(double arg0, double arg1, double arg2)
method_7508(double arg0, double arg1, double arg2)
m_fbikpwuv(double arg0, double arg1, double arg2)
snapPositionToRail(double x, double y, double z)
snapPositionToRail(double x, double y, double z)
m_38179_(double p_38181_, double arg1, double arg2)
public AABB
i_()
getBoundingBoxForCulling()
method_5830()
m_mwmobbqo()
getVisibilityBoundingBox()
getVisibilityBoundingBox()
m_6921_()
protected void
a(sn 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(sn 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
g(blv 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)
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
p_()
lerpTargetX()
method_53830()
m_dzufvcbo()
getLerpTargetX()
getLerpTargetX()
m_293268_()
public double
N_()
lerpTargetY()
method_53827()
m_luuqxfqy()
getLerpTargetY()
getLerpTargetY()
m_293950_()
public double
O_()
lerpTargetZ()
method_53828()
m_oagnumwt()
getLerpTargetZ()
getLerpTargetZ()
m_292720_()
public float
f_()
lerpTargetXRot()
method_53829()
m_gakqenyv()
getLerpTargetPitch()
getLerpTargetPitch()
m_293123_()
public float
q_()
lerpTargetYRot()
method_53831()
m_jnzyorkg()
getLerpTargetYaw()
getLerpTargetYaw()
m_293582_()
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)
public abstract AbstractMinecart$Type
w()
getMinecartType()
method_7518()
m_pfnhnfdm()
getMinecartType()
getMinecartType()
m_6064_()
public BlockState
x()
getDisplayBlockState()
method_7519()
m_upansguo()
getContainedBlock()
getContainedBlock()
m_38178_()
public BlockState
y()
getDefaultDisplayBlockState()
method_7517()
m_staqlmtx()
getDefaultContainedBlock()
getDefaultContainedBlock()
m_6390_()
public int
z()
getDisplayOffset()
method_7514()
m_hdngxmge()
getBlockOffset()
getBlockOffset()
m_38183_()
public int
A()
getDefaultDisplayOffset()
method_7526()
m_vptdbzfe()
getDefaultBlockOffset()
getDefaultBlockOffset()
m_7144_()
public void
c(djh 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
B()
hasCustomDisplay()
method_7510()
m_zqqbmhzn()
hasCustomBlock()
hasCustomBlock()
m_38184_()
public void
a(boolean arg0)
setCustomDisplay(boolean arg0)
method_7511(boolean arg0)
m_wyyhprrj(boolean arg0)
setCustomBlockPresent(boolean present)
setCustomBlockPresent(boolean present)
m_38138_(boolean arg0)
public ItemStack
dz()
getPickResult()
method_31480()
m_lyxnmous()
getPickBlockStack()
getPickBlockStack()
m_142340_()