Class AbstractMinecartMeta

All Implemented Interfaces:
ObjectDataProvider
Direct Known Subclasses:
AbstractMinecartContainerMeta, CommandBlockMinecartMeta, FurnaceMinecartMeta, MinecartMeta, SpawnerMinecartMeta, TntMinecartMeta

public abstract class AbstractMinecartMeta extends AbstractVehicleMeta implements ObjectDataProvider
  • Constructor Details

    • AbstractMinecartMeta

      protected AbstractMinecartMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
  • Method Details

    • getCustomBlockIdAndDamage

      public int getCustomBlockIdAndDamage()
    • setCustomBlockIdAndDamage

      public void setCustomBlockIdAndDamage(int value)
    • getCustomBlockYPosition

      public int getCustomBlockYPosition()
    • setCustomBlockYPosition

      public void setCustomBlockYPosition(int value)
    • getShowCustomBlock

      public boolean getShowCustomBlock()
    • setShowCustomBlock

      public void setShowCustomBlock(boolean show)
    • requiresVelocityPacketAtSpawn

      public boolean requiresVelocityPacketAtSpawn()
      Specified by:
      requiresVelocityPacketAtSpawn in interface ObjectDataProvider