public static enum Entity1_13Types.ObjectType extends Enum<Entity1_13Types.ObjectType> implements ObjectType
Modifier and Type | Method and Description |
---|---|
static Optional<Entity1_13Types.ObjectType> |
findById(int id) |
static Optional<Entity1_13Types.ObjectType> |
fromEntityType(Entity1_13Types.EntityType type) |
int |
getId() |
static Optional<Entity1_13Types.EntityType> |
getPCEntity(int id) |
Entity1_13Types.EntityType |
getType() |
static Entity1_13Types.ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entity1_13Types.ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entity1_13Types.ObjectType BOAT
public static final Entity1_13Types.ObjectType ITEM
public static final Entity1_13Types.ObjectType AREA_EFFECT_CLOUD
public static final Entity1_13Types.ObjectType MINECART
public static final Entity1_13Types.ObjectType TNT_PRIMED
public static final Entity1_13Types.ObjectType ENDER_CRYSTAL
public static final Entity1_13Types.ObjectType TIPPED_ARROW
public static final Entity1_13Types.ObjectType SNOWBALL
public static final Entity1_13Types.ObjectType EGG
public static final Entity1_13Types.ObjectType FIREBALL
public static final Entity1_13Types.ObjectType SMALL_FIREBALL
public static final Entity1_13Types.ObjectType ENDER_PEARL
public static final Entity1_13Types.ObjectType WITHER_SKULL
public static final Entity1_13Types.ObjectType SHULKER_BULLET
public static final Entity1_13Types.ObjectType LLAMA_SPIT
public static final Entity1_13Types.ObjectType FALLING_BLOCK
public static final Entity1_13Types.ObjectType ITEM_FRAME
public static final Entity1_13Types.ObjectType EYE_OF_ENDER
public static final Entity1_13Types.ObjectType POTION
public static final Entity1_13Types.ObjectType EXPERIENCE_BOTTLE
public static final Entity1_13Types.ObjectType FIREWORK_ROCKET
public static final Entity1_13Types.ObjectType LEASH
public static final Entity1_13Types.ObjectType ARMOR_STAND
public static final Entity1_13Types.ObjectType EVOKER_FANGS
public static final Entity1_13Types.ObjectType FISHIHNG_HOOK
public static final Entity1_13Types.ObjectType SPECTRAL_ARROW
public static final Entity1_13Types.ObjectType DRAGON_FIREBALL
public static final Entity1_13Types.ObjectType TRIDENT
public static Entity1_13Types.ObjectType[] values()
for (Entity1_13Types.ObjectType c : Entity1_13Types.ObjectType.values()) System.out.println(c);
public static Entity1_13Types.ObjectType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
getId
in interface ObjectType
public Entity1_13Types.EntityType getType()
getType
in interface ObjectType
public static Optional<Entity1_13Types.ObjectType> findById(int id)
public static Optional<Entity1_13Types.EntityType> getPCEntity(int id)
public static Optional<Entity1_13Types.ObjectType> fromEntityType(Entity1_13Types.EntityType type)
Copyright © 2016–2021. All rights reserved.