Class AbstractMinecart

All Implemented Interfaces:
CommandSource, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeAbstractMinecart, IForgeEntity, INBTSerializable<CompoundTag>
Direct Known Subclasses:
AbstractMinecartContainer, Minecart, MinecartCommandBlock, MinecartFurnace, MinecartSpawner, MinecartTNT

public abstract class AbstractMinecart extends Entity implements IForgeAbstractMinecart
  • Field Details

    • DATA_ID_HURT

      private static final EntityDataAccessor<Integer> DATA_ID_HURT
    • DATA_ID_HURTDIR

      private static final EntityDataAccessor<Integer> DATA_ID_HURTDIR
    • DATA_ID_DAMAGE

      private static final EntityDataAccessor<Float> DATA_ID_DAMAGE
    • DATA_ID_DISPLAY_BLOCK

      private static final EntityDataAccessor<Integer> DATA_ID_DISPLAY_BLOCK
    • DATA_ID_DISPLAY_OFFSET

      private static final EntityDataAccessor<Integer> DATA_ID_DISPLAY_OFFSET
    • DATA_ID_CUSTOM_DISPLAY

      private static final EntityDataAccessor<Boolean> DATA_ID_CUSTOM_DISPLAY
    • POSE_DISMOUNT_HEIGHTS

      private static final com.google.common.collect.ImmutableMap<Pose,com.google.common.collect.ImmutableList<Integer>> POSE_DISMOUNT_HEIGHTS
    • WATER_SLOWDOWN_FACTOR

      protected static final float WATER_SLOWDOWN_FACTOR
      See Also:
    • flipped

      private boolean flipped
    • EXITS

      private static final Map<RailShape,com.mojang.datafixers.util.Pair<Vec3i,Vec3i>> EXITS
    • COLLISIONS

      private static IMinecartCollisionHandler COLLISIONS
    • lSteps

      private int lSteps
    • lx

      private double lx
    • ly

      private double ly
    • lz

      private double lz
    • lyr

      private double lyr
    • lxr

      private double lxr
    • lxd

      private double lxd
    • lyd

      private double lyd
    • lzd

      private double lzd
    • canBePushed

      private boolean canBePushed
    • canUseRail

      private boolean canUseRail
    • currentSpeedCapOnRail

      private float currentSpeedCapOnRail
    • maxSpeedAirLateral

      private float maxSpeedAirLateral
    • maxSpeedAirVertical

      private float maxSpeedAirVertical
    • dragAir

      private double dragAir
  • Constructor Details

    • AbstractMinecart

      protected AbstractMinecart(EntityType<?> p_38087_, Level p_38088_)
    • AbstractMinecart

      protected AbstractMinecart(EntityType<?> p_38090_, Level p_38091_, double p_38092_, double p_38093_, double p_38094_)
  • Method Details