net.minecraft.world.entity.vehicle

public abstract class AbstractMinecart

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

bhl
net.minecraft.world.entity.vehicle.AbstractMinecart
net.minecraft.class_1688
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.item.minecart.AbstractMinecartEntity
net.minecraft.server.v1_16_R3.EntityMinecartAbstract

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
b
DATA_ID_HURT
field_7663
DAMAGE_WOBBLE_TICKS
field_184265_a
private static final EntityDataAccessor<Integer>
c
DATA_ID_HURTDIR
field_7668
DAMAGE_WOBBLE_SIDE
field_184266_b
private static final EntityDataAccessor<Float>
d
DATA_ID_DAMAGE
field_7667
DAMAGE_WOBBLE_STRENGTH
field_184267_c
private static final EntityDataAccessor<Integer>
e
DATA_ID_DISPLAY_BLOCK
field_7671
CUSTOM_BLOCK_ID
field_184268_d
private static final EntityDataAccessor<Integer>
f
DATA_ID_DISPLAY_OFFSET
field_7661
CUSTOM_BLOCK_OFFSET
field_184269_e
private static final EntityDataAccessor<Boolean>
g
DATA_ID_CUSTOM_DISPLAY
field_7670
CUSTOM_BLOCK_PRESENT
field_184270_f
private static final com.google.common.collect.ImmutableMap<Pose, com.google.common.collect.ImmutableList<Integer>>
ag
POSE_DISMOUNT_HEIGHTS
field_24464
DISMOUNT_FREE_Y_SPACES_NEEDED
field_234627_am_
private boolean
ah
flipped
field_7660
yawFlipped
field_70499_f
private static final Map<RailShape, com.mojang.datafixers.util.Pair<Vec3i, Vec3i>>
ai
EXITS
field_7664
ADJACENT_RAIL_POSITIONS_BY_SHAPE
field_70500_g
private int
aj
lSteps
field_7669
clientInterpolationSteps
field_70510_h
private double
ak
lx
field_7665
clientX
field_70511_i
private double
al
ly
field_7666
clientY
field_70509_j
private double
am
lz
field_7662
clientZ
field_70514_an
private double
an
lyr
field_7659
clientYaw
field_70512_ao
private double
ao
lxr
field_7657
clientPitch
field_70513_ap
private double
ap
lxd
field_7658
clientXVelocity
field_70508_aq
private double
aq
lyd
field_7655
clientYVelocity
field_70507_ar
private double
ar
lzd
field_7656
clientZVelocity
field_70506_as

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AbstractMinecart
a(brx arg0, double arg1, double arg2, double arg3, bhl$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)
func_184263_a(World arg0, double arg1, double arg2, double arg3, AbstractMinecartEntity$Type arg4)
protected boolean
aC()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public boolean
j(aqa arg0)
canCollideWith(Entity arg0)
method_30949(class_1297 arg0)
collidesWith(Entity arg0)
func_241849_j(Entity arg0)
public boolean
aU()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
protected Vec3
a(gc$a arg0, i$a arg1)
getRelativePortalPosition(Direction$Axis arg0, BlockUtil$FoundRectangle arg1)
method_30633(class_2350$class_2351 arg0, class_5459$class_5460 arg1)
method_30633(Direction$Axis arg0, class_5459$class_5460 arg1)
func_241839_a(Direction$Axis arg0, TeleportationRepositioner$Result arg1)
public double
bc()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
func_70042_X()
public Vec3
b(aqm arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
func_230268_c_(LivingEntity arg0)
public boolean
a(apk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
protected float
ar()
getBlockSpeedFactor()
method_23326()
getVelocityMultiplier()
func_225515_ai_()
getBlockSpeedFactor()
public void
a(apk arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
dropItems(DamageSource damageSource)
func_94095_a(DamageSource arg0)
public boolean
aT()
isPickable()
method_5863()
collides()
func_70067_L()
isInteractable()
private static com.mojang.datafixers.util.Pair<Vec3i, Vec3i>
a(cfk arg0)
exits(RailShape arg0)
method_22864(class_2768 arg0)
getAdjacentRailPositionsByShape(RailShape shape)
func_226573_a_(RailShape arg0)
public Direction
ca()
getMotionDirection()
method_5755()
getMovementDirection()
func_184172_bi()
getAdjustedDirection()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
protected double
g()
getMaxSpeed()
method_7504()
getMaxOffRailSpeed()
func_174898_m()
getMaxSpeed()
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)
onActivatorRail(int x, int y, int z, boolean powered)
func_96095_a(int arg0, int arg1, int arg2, boolean arg3)
protected void
h()
comeOffTrack()
method_7512()
moveOffRail()
func_180459_n()
protected void
c(fx arg0, ceh arg1)
moveAlongTrack(BlockPos arg0, BlockState arg1)
method_7513(class_2338 arg0, class_2680 arg1)
moveOnRail(BlockPos pos, BlockState state)
func_180460_a(BlockPos arg0, BlockState arg1)
private boolean
a(fx arg0)
isRedstoneConductor(BlockPos arg0)
method_18803(class_2338 arg0)
willHitBlockAt(BlockPos pos)
func_213900_a(BlockPos arg0)
protected void
i()
applyNaturalSlowdown()
method_7525()
applySlowdown()
func_94101_h()
decelerate()
public Vec3
p(double arg0, 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)
func_70489_a(double arg0, double arg1, double arg2)
protected void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
protected void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
i(aqa arg0)
push(Entity arg0)
method_5697(class_1297 arg0)
pushAwayFrom(Entity arg0)
func_70108_f(Entity arg0)
collide(Entity arg0)
public void
a(float arg0)
setDamage(float arg0)
method_7520(float arg0)
setDamageWobbleStrength(float arg0)
func_70492_c(float arg0)
setDamage(float arg0)
public float
k()
getDamage()
method_7521()
getDamageWobbleStrength()
func_70491_i()
getDamage()
public void
c(int arg0)
setHurtTime(int arg0)
method_7509(int arg0)
setDamageWobbleTicks(int wobbleTicks)
func_70497_h(int arg0)
public int
m()
getHurtTime()
method_7507()
getDamageWobbleTicks()
func_70496_j()
getType()
public void
d(int arg0)
setHurtDir(int arg0)
method_7524(int arg0)
setDamageWobbleSide(int wobbleSide)
func_70494_i(int arg0)
public int
n()
getHurtDir()
method_7522()
getDamageWobbleSide()
func_70493_k()
public abstract AbstractMinecart$Type
o()
getMinecartType()
method_7518()
getMinecartType()
func_184264_v()
getMinecartType()
public BlockState
p()
getDisplayBlockState()
method_7519()
getContainedBlock()
func_174897_t()
getDisplayBlock()
public BlockState
q()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
func_180457_u()
public int
r()
getDisplayOffset()
method_7514()
getBlockOffset()
func_94099_q()
getDisplayBlockOffset()
public int
s()
getDefaultDisplayOffset()
method_7526()
getDefaultBlockOffset()
func_94085_r()
public void
b(ceh arg0)
setDisplayBlockState(BlockState arg0)
method_7527(class_2680 arg0)
setCustomBlock(BlockState state)
func_174899_a(BlockState arg0)
setDisplayBlock(IBlockData arg0)
public void
l(int arg0)
setDisplayOffset(int arg0)
method_7515(int arg0)
setCustomBlockOffset(int offset)
func_94086_l(int arg0)
setDisplayBlockOffset(int arg0)
public boolean
t()
hasCustomDisplay()
method_7510()
hasCustomBlock()
func_94100_s()
public void
a(boolean arg0)
setCustomDisplay(boolean arg0)
method_7511(boolean arg0)
setCustomBlockPresent(boolean present)
func_94096_e(boolean arg0)
public Packet<?>
P()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public void
bm()
animateHurt()
method_5879()
animateDamage()
func_70057_ab()
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)
snapPositionToRailWithOffset(double x, double y, double z, double offset)
func_70495_a(double arg0, double arg1, double arg2, double arg3)
public AABB
cd()
getBoundingBoxForCulling()
method_5830()
getVisibilityBoundingBox()
func_184177_bl()
public void
a(double arg0, double arg1, double arg2, 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)
func_180426_a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
public void
k(double arg0, 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)
func_70016_h(double arg0, double arg1, double arg2)