net.minecraft.entity.vehicle

public abstract class AbstractMinecartEntity

extends Entity

All mapped superinterfaces:

Nameable, EntityLike, CommandOutput

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

Field summary

Modifier and TypeField
private static final TrackedData<Integer>
c
DATA_ID_HURT
field_7663
DAMAGE_WOBBLE_TICKS
f_wtakhkxi
f_38079_
private static final TrackedData<Integer>
d
DATA_ID_HURTDIR
field_7668
DAMAGE_WOBBLE_SIDE
f_vctihpfv
f_38080_
private static final TrackedData<Float>
e
DATA_ID_DAMAGE
field_7667
DAMAGE_WOBBLE_STRENGTH
f_jeojuhsi
f_38081_
private static final TrackedData<Integer>
f
DATA_ID_DISPLAY_BLOCK
field_7671
CUSTOM_BLOCK_ID
f_revdcqip
f_38082_
private static final TrackedData<Integer>
ap
DATA_ID_DISPLAY_OFFSET
field_7661
CUSTOM_BLOCK_OFFSET
f_tbmsamms
f_38083_
private static final TrackedData<Boolean>
aq
DATA_ID_CUSTOM_DISPLAY
field_7670
CUSTOM_BLOCK_PRESENT
f_bsiwllkc
f_38084_
private static final com.google.common.collect.ImmutableMap<EntityPose, com.google.common.collect.ImmutableList<Integer>>
ar
POSE_DISMOUNT_HEIGHTS
field_24464
DISMOUNT_FREE_Y_SPACES_NEEDED
f_anmyjaty
f_38067_
protected static final float
b
WATER_SLOWDOWN_FACTOR
field_30694
field_30694
f_vzjwqsmo
f_150249_
private boolean
as
flipped
field_7660
yawFlipped
f_lotwtnbj
f_38068_
private static final Map<RailShape, com.mojang.datafixers.util.Pair<Vec3i, Vec3i>>
at
EXITS
field_7664
ADJACENT_RAIL_POSITIONS_BY_SHAPE
f_cbqkmsxd
f_38069_
private int
au
lSteps
field_7669
clientInterpolationSteps
f_hmobkafp
f_38070_
private double
av
lx
field_7665
clientX
f_pcfrjvvk
f_38071_
private double
aw
ly
field_7666
clientY
f_gsiqzxiy
f_38072_
private double
ax
lz
field_7662
clientZ
f_qmvnxqik
f_38073_
private double
ay
lyr
field_7659
clientYaw
f_vacubhab
f_38074_
private double
az
lxr
field_7657
clientPitch
f_xmmwmikp
f_38075_
private double
aA
lxd
field_7658
clientXVelocity
f_mjjsiikx
f_38076_
private double
aB
lyd
field_7655
clientYVelocity
f_zarmmoty
f_38077_
private double
aC
lzd
field_7656
clientZVelocity
f_zbuwqxzr
f_38078_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AbstractMinecartEntity
a(cad o, double o, double o, double arg3, bpg$a arg4)
createMinecart(Level arg0, double arg1, double arg2, double arg3, AbstractMinecart$Type arg4)
method_7523(class_1937 arg0, double arg1, double arg2, double arg3, class_1688$class_1689 arg4)
create(World world, double x, double y, double z, AbstractMinecartEntity$Type type)
m_ounzrtxb(C_cdctfzbn arg0, double arg1, double arg2, double arg3, C_tahhkgty$C_osuhqmhw arg4)
m_38119_(C_1596_ p_38120_, double p_38121_, double p_38123_, double arg3, C_1201_$C_1203_ arg4)
protected Entity$MoveEffect
aN()
getMovementEmission()
method_33570()
getMoveEffect()
m_dxohridw()
m_142319_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_lwugwlsw()
m_8097_()
public boolean
h(awt arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
collidesWith(Entity arg0)
m_cjtrtfdq(C_astfners arg0)
m_7337_(C_507_ arg0)
public boolean
bi()
isPushable()
method_5810()
isPushable()
m_okzqpkgv()
m_6094_()
protected Vec3d
a(gm$a o, n$a arg1)
getRelativePortalPosition(Direction$Axis arg0, BlockUtil$FoundRectangle arg1)
method_30633(class_2350$class_2351 arg0, class_5459$class_5460 arg1)
positionInPortal(Direction$Axis arg0, BlockLocating$Rectangle arg1)
m_dofvpclc(C_xpuuihxf$C_rmpfouoz arg0, C_wauhtoaq$C_tqypnjit arg1)
m_7643_(C_4687_$C_4689_ p_38133_, C_4777_$C_4778_ arg1)
public double
bq()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
m_kkphuyzb()
m_6048_()
public Vec3d
b(axh arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
m_uoqfuwph(C_usxaxydn arg0)
m_7688_(C_524_ arg0)
public boolean
a(awd o, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
m_6469_(C_489_ p_38118_, float arg1)
protected float
aC()
getBlockSpeedFactor()
method_23326()
getVelocityMultiplier()
m_vxtgbqxt()
m_6041_()
public void
a(awd arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
dropItems(DamageSource damageSource)
m_hztbtrvs(C_sbxfkpyv arg0)
m_7617_(C_489_ arg0)
public void
bA()
animateHurt()
method_5879()
animateDamage()
m_yndwkmtt()
m_6053_()
public boolean
bh()
isPickable()
method_5863()
collides()
m_bzveerey()
m_6087_()
private static com.mojang.datafixers.util.Pair<Vec3i, Vec3i>
a(cph o)
exits(RailShape arg0)
method_22864(class_2768 arg0)
getAdjacentRailPositionsByShape(RailShape shape)
m_wlixjjti(C_wqmdpcsg arg0)
m_38125_(C_2100_ p_38126_)
public Direction
cu()
getMotionDirection()
method_5755()
getMovementDirection()
m_egrevgdy()
m_6374_()
public void
k()
tick()
method_5773()
tick()
m_arkgrfeb()
m_8119_()
protected double
h()
getMaxSpeed()
method_7504()
getMaxOffRailSpeed()
m_xemvwdlu()
m_7097_()
public void
a(int o, int o, int o, boolean arg3)
activateMinecart(int arg0, int arg1, int arg2, boolean arg3)
method_7506(int arg0, int arg1, int arg2, boolean arg3)
onActivatorRail(int x, int y, int z, boolean powered)
m_cnkjmfhl(int arg0, int arg1, int arg2, boolean arg3)
m_6025_(int p_38112_, int p_38113_, int p_38114_, boolean arg3)
protected void
i()
comeOffTrack()
method_7512()
moveOffRail()
m_yrpbpsae()
m_38163_()
protected void
c(gh o, coc arg1)
moveAlongTrack(BlockPos arg0, BlockState arg1)
method_7513(class_2338 arg0, class_2680 arg1)
moveOnRail(BlockPos pos, BlockState state)
m_simptyqn(C_hynzadkk arg0, C_txtbiemp arg1)
m_6401_(C_4675_ p_38157_, C_2064_ arg1)
private boolean
a(gh arg0)
isRedstoneConductor(BlockPos arg0)
method_18803(class_2338 arg0)
willHitBlockAt(BlockPos pos)
m_xtdpuoft(C_hynzadkk arg0)
m_38129_(C_4675_ arg0)
protected void
j()
applyNaturalSlowdown()
method_7525()
applySlowdown()
m_yvrwkcqb()
m_7114_()
public Vec3d
a(double o, double o, double arg2, double arg3)
getPosOffs(double arg0, double arg1, double arg2, double arg3)
method_7505(double arg0, double arg1, double arg2, double arg3)
snapPositionToRailWithOffset(double x, double y, double z, double offset)
m_rfiyibeq(double arg0, double arg1, double arg2, double arg3)
m_38096_(double p_38098_, double p_38100_, double arg2, double arg3)
public Vec3d
p(double o, double arg1, double arg2)
getPos(double arg0, double arg1, double arg2)
method_7508(double arg0, double arg1, double arg2)
snapPositionToRail(double x, double y, double z)
m_fbikpwuv(double arg0, double arg1, double arg2)
m_38179_(double p_38181_, double arg1, double arg2)
public Box
cx()
getBoundingBoxForCulling()
method_5830()
getVisibilityBoundingBox()
m_mwmobbqo()
m_6921_()
protected void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_obkzfysl(C_hhlwcnih arg0)
m_7378_(C_4917_ arg0)
protected void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_xuwbpohg(C_hhlwcnih arg0)
m_7380_(C_4917_ arg0)
public void
g(awt arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
m_ysnccdty(C_astfners arg0)
m_7334_(C_507_ arg0)
public void
a(double o, double o, double o, float arg3, float arg4, int arg5, boolean arg6)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_6453_(double p_38103_, double p_38105_, double p_38107_, float arg3, float arg4, int arg5, boolean arg6)
public void
k(double o, double arg1, double arg2)
lerpMotion(double arg0, double arg1, double arg2)
method_5750(double arg0, double arg1, double arg2)
setVelocityClient(double arg0, double arg1, double arg2)
m_onpbziok(double arg0, double arg1, double arg2)
m_6001_(double p_38172_, double arg1, double arg2)
public void
a(float arg0)
setDamage(float arg0)
method_7520(float arg0)
setDamageWobbleStrength(float damageWobbleStrength)
m_cvbmcdmt(float arg0)
m_38109_(float arg0)
public float
l()
getDamage()
method_7521()
getDamageWobbleStrength()
m_xrbxfwrk()
m_38169_()
public void
c(int arg0)
setHurtTime(int arg0)
method_7509(int arg0)
setDamageWobbleTicks(int wobbleTicks)
m_diouohbh(int arg0)
m_38154_(int arg0)
public int
n()
getHurtTime()
method_7507()
getDamageWobbleTicks()
m_fvapeszw()
m_38176_()
public void
d(int arg0)
setHurtDir(int arg0)
method_7524(int arg0)
setDamageWobbleSide(int wobbleSide)
m_gftbxkni(int arg0)
m_38160_(int arg0)
public int
o()
getHurtDir()
method_7522()
getDamageWobbleSide()
m_ugwuokyy()
m_38177_()
public abstract AbstractMinecartEntity$Type
q()
getMinecartType()
method_7518()
getMinecartType()
m_pfnhnfdm()
m_6064_()
public BlockState
r()
getDisplayBlockState()
method_7519()
getContainedBlock()
m_upansguo()
m_38178_()
public BlockState
s()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
m_staqlmtx()
m_6390_()
public int
t()
getDisplayOffset()
method_7514()
getBlockOffset()
m_hdngxmge()
m_38183_()
public int
u()
getDefaultDisplayOffset()
method_7526()
getDefaultBlockOffset()
m_vptdbzfe()
m_7144_()
public void
b(coc arg0)
setDisplayBlockState(BlockState arg0)
method_7527(class_2680 arg0)
setCustomBlock(BlockState state)
m_glkhmiur(C_txtbiemp arg0)
m_38146_(C_2064_ arg0)
public void
m(int arg0)
setDisplayOffset(int arg0)
method_7515(int arg0)
setCustomBlockOffset(int offset)
m_xmlhrgqq(int arg0)
m_38174_(int arg0)
public boolean
w()
hasCustomDisplay()
method_7510()
hasCustomBlock()
m_zqqbmhzn()
m_38184_()
public void
a(boolean arg0)
setCustomDisplay(boolean arg0)
method_7511(boolean arg0)
setCustomBlockPresent(boolean present)
m_wyyhprrj(boolean arg0)
m_38138_(boolean arg0)
public Packet<?>
S()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_tugxrexj()
m_5654_()
public ItemStack
dk()
getPickResult()
method_31480()
getPickBlockStack()
m_lyxnmous()
m_142340_()