Class AbstractMinecartMeta

java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.minecart.AbstractMinecartMeta
All Implemented Interfaces:
ObjectDataProvider
Direct Known Subclasses:
AbstractMinecartContainerMeta, CommandBlockMinecartMeta, FurnaceMinecartMeta, MinecartMeta, SpawnerMinecartMeta, TntMinecartMeta

public abstract class AbstractMinecartMeta extends EntityMeta implements ObjectDataProvider
  • Field Details

  • Constructor Details

    • AbstractMinecartMeta

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

    • getShakingPower

      public int getShakingPower()
    • setShakingPower

      public void setShakingPower(int value)
    • getShakingDirection

      public int getShakingDirection()
    • setShakingDirection

      public void setShakingDirection(int value)
    • getShakingMultiplier

      public float getShakingMultiplier()
    • setShakingMultiplier

      public void setShakingMultiplier(float value)
    • getCustomBlockIdAndDamage

      public int getCustomBlockIdAndDamage()
    • setCustomBlockIdAndDamage

      public void setCustomBlockIdAndDamage(int value)
    • getCustomBlockYPosition

      public int getCustomBlockYPosition()
    • setCustomBlockYPosition

      public void setCustomBlockYPosition(int value)
    • requiresVelocityPacketAtSpawn

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