Enum Class MetadataIndex

java.lang.Object
java.lang.Enum<MetadataIndex>
net.glowstone.entity.meta.MetadataIndex
All Implemented Interfaces:
Serializable, Comparable<MetadataIndex>, Constable

public enum MetadataIndex extends Enum<MetadataIndex>
Index constants for entity metadata.
  • Enum Constant Details

    • STATUS

      public static final MetadataIndex STATUS
    • AIR_TIME

      public static final MetadataIndex AIR_TIME
    • NAME_TAG

      public static final MetadataIndex NAME_TAG
    • SHOW_NAME_TAG

      public static final MetadataIndex SHOW_NAME_TAG
    • SILENT

      public static final MetadataIndex SILENT
    • NOGRAVITY

      public static final MetadataIndex NOGRAVITY
    • AREAEFFECTCLOUD_RADIUS

      public static final MetadataIndex AREAEFFECTCLOUD_RADIUS
    • AREAEFFECTCLOUD_COLOR

      public static final MetadataIndex AREAEFFECTCLOUD_COLOR
    • AREAEFFECTCLOUD_POINT

      public static final MetadataIndex AREAEFFECTCLOUD_POINT
    • AREAEFFECTCLOUD_PARTICLE

      public static final MetadataIndex AREAEFFECTCLOUD_PARTICLE
    • ARROW_CRITICAL

      public static final MetadataIndex ARROW_CRITICAL
    • ARROW_SHOOTER_ID

      public static final MetadataIndex ARROW_SHOOTER_ID
    • TIPPEDARROW_COLOR

      public static final MetadataIndex TIPPEDARROW_COLOR
    • TRIDENT_LOYALTY

      public static final MetadataIndex TRIDENT_LOYALTY
    • BOAT_HIT_TIME

      public static final MetadataIndex BOAT_HIT_TIME
    • BOAT_DIRECTION

      public static final MetadataIndex BOAT_DIRECTION
    • BOAT_DAMAGE_TAKEN

      public static final MetadataIndex BOAT_DAMAGE_TAKEN
    • BOAT_TYPE

      public static final MetadataIndex BOAT_TYPE
    • BOAT_RIGHT_PADDLE_TURNING

      public static final MetadataIndex BOAT_RIGHT_PADDLE_TURNING
    • BOAT_LEFT_PADDLE_TURNING

      public static final MetadataIndex BOAT_LEFT_PADDLE_TURNING
    • BOAT_SPLASH_TIMER

      public static final MetadataIndex BOAT_SPLASH_TIMER
    • ENDERCRYSTAL_BEAM_TARGET

      public static final MetadataIndex ENDERCRYSTAL_BEAM_TARGET
    • ENDERCRYSTAL_SHOW_BOTTOM

      public static final MetadataIndex ENDERCRYSTAL_SHOW_BOTTOM
    • WITHERSKULL_INVULNERABLE

      public static final MetadataIndex WITHERSKULL_INVULNERABLE
    • FIREWORK_INFO

      public static final MetadataIndex FIREWORK_INFO
    • FIREWORK_ENTITY

      public static final MetadataIndex FIREWORK_ENTITY
    • ITEM_FRAME_ITEM

      public static final MetadataIndex ITEM_FRAME_ITEM
    • ITEM_FRAME_ROTATION

      public static final MetadataIndex ITEM_FRAME_ROTATION
    • ITEM_ITEM

      public static final MetadataIndex ITEM_ITEM
    • HAND_USED

      public static final MetadataIndex HAND_USED
    • HEALTH

      public static final MetadataIndex HEALTH
    • POTION_COLOR

      public static final MetadataIndex POTION_COLOR
    • POTION_AMBIENT

      public static final MetadataIndex POTION_AMBIENT
    • ARROW_COUNT

      public static final MetadataIndex ARROW_COUNT
    • PLAYER_EXTRA_HEARTS

      public static final MetadataIndex PLAYER_EXTRA_HEARTS
    • PLAYER_SCORE

      public static final MetadataIndex PLAYER_SCORE
    • PLAYER_SKIN_PARTS

      public static final MetadataIndex PLAYER_SKIN_PARTS
    • PLAYER_MAIN_HAND

      public static final MetadataIndex PLAYER_MAIN_HAND
    • PLAYER_LEFT_SHOULDER

      public static final MetadataIndex PLAYER_LEFT_SHOULDER
    • PLAYER_RIGHT_SHOULDER

      public static final MetadataIndex PLAYER_RIGHT_SHOULDER
    • ARMORSTAND_FLAGS

      public static final MetadataIndex ARMORSTAND_FLAGS
    • ARMORSTAND_HEAD_POSITION

      public static final MetadataIndex ARMORSTAND_HEAD_POSITION
    • ARMORSTAND_BODY_POSITION

      public static final MetadataIndex ARMORSTAND_BODY_POSITION
    • ARMORSTAND_LEFT_ARM_POSITION

      public static final MetadataIndex ARMORSTAND_LEFT_ARM_POSITION
    • ARMORSTAND_RIGHT_ARM_POSITION

      public static final MetadataIndex ARMORSTAND_RIGHT_ARM_POSITION
    • ARMORSTAND_LEFT_LEG_POSITION

      public static final MetadataIndex ARMORSTAND_LEFT_LEG_POSITION
    • ARMORSTAND_RIGHT_LEG_POSITION

      public static final MetadataIndex ARMORSTAND_RIGHT_LEG_POSITION
    • BAT_FLAGS

      public static final MetadataIndex BAT_FLAGS
    • AGE_ISBABY

      public static final MetadataIndex AGE_ISBABY
    • ABSTRACT_HORSE_FLAGS

      public static final MetadataIndex ABSTRACT_HORSE_FLAGS
    • ABSTRACT_HORSE_OWNER

      public static final MetadataIndex ABSTRACT_HORSE_OWNER
    • HORSE_STYLE

      public static final MetadataIndex HORSE_STYLE
    • HORSE_ARMOR

      public static final MetadataIndex HORSE_ARMOR
    • CHESTED_HORSE_HAS_CHEST

      public static final MetadataIndex CHESTED_HORSE_HAS_CHEST
    • LLAMA_STRENGTH

      public static final MetadataIndex LLAMA_STRENGTH
    • LLAMA_CARPET

      public static final MetadataIndex LLAMA_CARPET
    • LLAMA_VARIANT

      public static final MetadataIndex LLAMA_VARIANT
    • PIG_SADDLE

      public static final MetadataIndex PIG_SADDLE
    • PIG_BOOST

      public static final MetadataIndex PIG_BOOST
    • RABBIT_TYPE

      public static final MetadataIndex RABBIT_TYPE
    • SHEEP_DATA

      public static final MetadataIndex SHEEP_DATA
    • TAMEABLEAANIMAL_STATUS

      public static final MetadataIndex TAMEABLEAANIMAL_STATUS
    • TAMEABLEANIMAL_OWNER

      public static final MetadataIndex TAMEABLEANIMAL_OWNER
    • OCELOT_TYPE

      public static final MetadataIndex OCELOT_TYPE
    • WOLF_HEALTH

      public static final MetadataIndex WOLF_HEALTH
    • WOLF_BEGGING

      public static final MetadataIndex WOLF_BEGGING
    • WOLF_COLOR

      public static final MetadataIndex WOLF_COLOR
    • VILLAGER_PROFESSION

      public static final MetadataIndex VILLAGER_PROFESSION
    • GOLEM_PLAYER_BUILT

      public static final MetadataIndex GOLEM_PLAYER_BUILT
    • SNOWMAN_NOHAT

      public static final MetadataIndex SNOWMAN_NOHAT
    • SHULKER_FACING_DIRECTION

      public static final MetadataIndex SHULKER_FACING_DIRECTION
    • SHULKER_ATTACHMENT_POSITION

      public static final MetadataIndex SHULKER_ATTACHMENT_POSITION
    • SHULKER_SHIELD_HEIGHT

      public static final MetadataIndex SHULKER_SHIELD_HEIGHT
    • SHULKER_COLOR

      public static final MetadataIndex SHULKER_COLOR
    • BLAZE_ON_FIRE

      public static final MetadataIndex BLAZE_ON_FIRE
    • CREEPER_STATE

      public static final MetadataIndex CREEPER_STATE
    • CREEPER_POWERED

      public static final MetadataIndex CREEPER_POWERED
    • CREEPER_IGNITED

      public static final MetadataIndex CREEPER_IGNITED
    • GUARDIAN_SPIKES

      public static final MetadataIndex GUARDIAN_SPIKES
    • GUARDIAN_TARGET

      public static final MetadataIndex GUARDIAN_TARGET
    • SKELETON_HANDS_RISEN_UP

      public static final MetadataIndex SKELETON_HANDS_RISEN_UP
    • SPIDER_CLIMBING

      public static final MetadataIndex SPIDER_CLIMBING
    • WITCH_AGGRESSIVE

      public static final MetadataIndex WITCH_AGGRESSIVE
    • WITHER_TARGET_1

      public static final MetadataIndex WITHER_TARGET_1
    • WITHER_TARGET_2

      public static final MetadataIndex WITHER_TARGET_2
    • WITHER_TARGET_3

      public static final MetadataIndex WITHER_TARGET_3
    • WITHER_INVULN_TIME

      public static final MetadataIndex WITHER_INVULN_TIME
    • ZOMBIE_IS_CHILD

      public static final MetadataIndex ZOMBIE_IS_CHILD
    • ZOMBIE_PROFESSION

      public static final MetadataIndex ZOMBIE_PROFESSION
    • ZOMBIE_HANDS_RISED_UP

      public static final MetadataIndex ZOMBIE_HANDS_RISED_UP
    • ZOMBIE_BECOMING_DROWNED

      public static final MetadataIndex ZOMBIE_BECOMING_DROWNED
    • ZOMBIE_VILLAGER_IS_CONVERTING

      public static final MetadataIndex ZOMBIE_VILLAGER_IS_CONVERTING
    • ZOMBIE_VILLAGER_PROFESSION

      public static final MetadataIndex ZOMBIE_VILLAGER_PROFESSION
    • ENDERMAN_BLOCK

      public static final MetadataIndex ENDERMAN_BLOCK
    • ENDERMAN_SCREAMING

      public static final MetadataIndex ENDERMAN_SCREAMING
    • ENDERDRAGON_PHASE

      public static final MetadataIndex ENDERDRAGON_PHASE
    • GHAST_ATTACKING

      public static final MetadataIndex GHAST_ATTACKING
    • SLIME_SIZE

      public static final MetadataIndex SLIME_SIZE
    • POLARBEAR_STANDING

      public static final MetadataIndex POLARBEAR_STANDING
    • MINECART_SHAKE_POWER

      public static final MetadataIndex MINECART_SHAKE_POWER
    • MINECART_SHAKE_DIRECTION

      public static final MetadataIndex MINECART_SHAKE_DIRECTION
    • MINECART_DAMAGE_TAKEN

      public static final MetadataIndex MINECART_DAMAGE_TAKEN
    • MINECART_BLOCK

      public static final MetadataIndex MINECART_BLOCK
    • MINECART_BLOCK_OFFSET

      public static final MetadataIndex MINECART_BLOCK_OFFSET
    • MINECART_BLOCK_SHOWN

      public static final MetadataIndex MINECART_BLOCK_SHOWN
    • EVOKER_SPELL

      public static final MetadataIndex EVOKER_SPELL
    • VEX_STATE

      public static final MetadataIndex VEX_STATE
    • VINDICATOR_STATE

      public static final MetadataIndex VINDICATOR_STATE
    • PHANTOM_SIZE

      public static final MetadataIndex PHANTOM_SIZE
    • DOLPHIN_TREASURE_POSITION

      public static final MetadataIndex DOLPHIN_TREASURE_POSITION
    • DOLPHIN_CAN_FIND_TREASURE

      public static final MetadataIndex DOLPHIN_CAN_FIND_TREASURE
    • DOLPHIN_HAS_FISH

      public static final MetadataIndex DOLPHIN_HAS_FISH
    • FISH_FROM_BUCKET

      public static final MetadataIndex FISH_FROM_BUCKET
    • PUFFER_FISH_STATE

      public static final MetadataIndex PUFFER_FISH_STATE
    • TROPICAL_FISH_VARIANT

      public static final MetadataIndex TROPICAL_FISH_VARIANT
    • TURTLE_HOME_POSITION

      public static final MetadataIndex TURTLE_HOME_POSITION
    • TURTLE_HAS_EGG

      public static final MetadataIndex TURTLE_HAS_EGG
    • TURTLE_LAYING_EGG

      public static final MetadataIndex TURTLE_LAYING_EGG
    • TURTLE_TRAVEL_POS

      public static final MetadataIndex TURTLE_TRAVEL_POS
    • TURTLE_GOING_HOME

      public static final MetadataIndex TURTLE_GOING_HOME
    • TURTLE_TRAVELLING

      public static final MetadataIndex TURTLE_TRAVELLING
    • DROWNED_HAS_TARGET

      public static final MetadataIndex DROWNED_HAS_TARGET
    • PARROT_VARIANT

      public static final MetadataIndex PARROT_VARIANT
    • MINECARTCOMMANDBLOCK_COMMAND

      public static final MetadataIndex MINECARTCOMMANDBLOCK_COMMAND
    • MINECARTCOMMANDBLOCK_LAST_OUTPUT

      public static final MetadataIndex MINECARTCOMMANDBLOCK_LAST_OUTPUT
    • FURNACE_MINECART_POWERED

      public static final MetadataIndex FURNACE_MINECART_POWERED
    • TNT_PRIMED

      public static final MetadataIndex TNT_PRIMED
    • FISHING_HOOK_HOOKED_ENTITY

      public static final MetadataIndex FISHING_HOOK_HOOKED_ENTITY
      Hooked entity id + 1, or 0 if there is no hooked entity.
  • Method Details

    • values

      public static MetadataIndex[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MetadataIndex valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndex

      public static MetadataIndex getIndex(int index, MetadataType type)
      Returns the first MetadataIndex with a given index and MetadataType.
      Parameters:
      index - the index to look up
      type - the type to look up
      Returns:
      a MetadataIndex with that index and type, or null if none match
    • appliesTo

      public boolean appliesTo(Class<? extends org.bukkit.entity.Entity> clazz)
    • getIndex

      public int getIndex()
    • getType

      public MetadataType getType()
    • getAppliesTo

      public Class<? extends org.bukkit.entity.Entity> getAppliesTo()