Class AbstractMinecart

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

public abstract class AbstractMinecart extends VehicleEntity implements IForgeAbstractMinecart
  • Field Details

    • LOWERED_PASSENGER_ATTACHMENT

      private static final Vec3 LOWERED_PASSENGER_ATTACHMENT
    • 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
    • onRails

      private boolean onRails
    • lerpSteps

      private int lerpSteps
    • lerpX

      private double lerpX
    • lerpY

      private double lerpY
    • lerpZ

      private double lerpZ
    • lerpYRot

      private double lerpYRot
    • lerpXRot

      private double lerpXRot
    • targetDeltaMovement

      private Vec3 targetDeltaMovement
    • EXITS

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

      private boolean canBePushed
    • COLLISIONS

      private static IMinecartCollisionHandler COLLISIONS
    • 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