Package com.cryptomorin.xseries
Enum Class XEntityType
- All Implemented Interfaces:
XBase<XEntityType,,org.bukkit.entity.EntityType> Serializable,Comparable<XEntityType>,Constable
public enum XEntityType
extends Enum<XEntityType>
implements XBase<XEntityType,org.bukkit.entity.EntityType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XRegistry<XEntityType, org.bukkit.entity.EntityType> -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.EntityTypeget()String[]getNames()static @NotNull @Unmodifiable Collection<XEntityType> static Optional<XEntityType> static @NotNull XEntityTypeof(@NotNull org.bukkit.entity.Entity entity) static @NotNull XEntityTypeof(@NotNull org.bukkit.entity.EntityType entityType) static XEntityTypeReturns the enum constant of this class with the specified name.static XEntityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.cryptomorin.xseries.base.XBase
friendlyName, getMetadata, isSupported, name, or
-
Enum Constant Details
-
ACACIA_BOAT
-
ACACIA_CHEST_BOAT
-
ALLAY
-
AREA_EFFECT_CLOUD
-
ARMADILLO
-
ARMOR_STAND
-
ARROW
-
AXOLOTL
-
BAMBOO_CHEST_RAFT
-
BAMBOO_RAFT
-
BAT
-
BEE
-
BIRCH_BOAT
-
BIRCH_CHEST_BOAT
-
BLAZE
-
BLOCK_DISPLAY
-
BOGGED
-
BREEZE
-
BREEZE_WIND_CHARGE
-
CAMEL
-
CAT
-
CAVE_SPIDER
-
CHERRY_BOAT
-
CHERRY_CHEST_BOAT
-
CHEST_MINECART
-
CHICKEN
-
COD
-
COMMAND_BLOCK_MINECART
-
COW
-
CREAKING
-
CREAKING_TRANSIENT
@XInfo(since="1.21.3", removedSince="1.21.4") @Deprecated public static final XEntityType CREAKING_TRANSIENTDeprecated. -
CREEPER
-
DARK_OAK_BOAT
-
DARK_OAK_CHEST_BOAT
-
DOLPHIN
-
DONKEY
-
DRAGON_FIREBALL
-
DROWNED
-
EGG
-
ELDER_GUARDIAN
-
ENDERMAN
-
ENDERMITE
-
ENDER_DRAGON
-
ENDER_PEARL
-
END_CRYSTAL
-
EVOKER
-
EVOKER_FANGS
-
EXPERIENCE_BOTTLE
-
EXPERIENCE_ORB
-
EYE_OF_ENDER
-
FALLING_BLOCK
-
FIREBALL
-
FIREWORK_ROCKET
-
FISHING_BOBBER
-
FOX
-
FROG
-
FURNACE_MINECART
-
GHAST
-
GIANT
-
GLOW_ITEM_FRAME
-
GLOW_SQUID
-
GOAT
-
GUARDIAN
-
HOGLIN
-
HOPPER_MINECART
-
HORSE
-
HUSK
-
ILLUSIONER
-
INTERACTION
-
IRON_GOLEM
-
ITEM
-
ITEM_DISPLAY
-
ITEM_FRAME
-
JUNGLE_BOAT
-
JUNGLE_CHEST_BOAT
-
LEASH_KNOT
-
LIGHTNING_BOLT
-
LLAMA
-
LLAMA_SPIT
-
MAGMA_CUBE
-
MANGROVE_BOAT
-
MANGROVE_CHEST_BOAT
-
MARKER
-
MINECART
-
MOOSHROOM
-
MULE
-
OAK_BOAT
-
OAK_CHEST_BOAT
@XChange(version="v1.21.2", from="CHEST_BOAT", to="OAK_CHEST_BOAT") public static final XEntityType OAK_CHEST_BOAT -
OCELOT
-
OMINOUS_ITEM_SPAWNER
-
PAINTING
-
PALE_OAK_BOAT
-
PALE_OAK_CHEST_BOAT
-
PANDA
-
PARROT
-
PHANTOM
-
PIG
-
PIGLIN
-
PIGLIN_BRUTE
-
PILLAGER
-
PLAYER
-
POLAR_BEAR
-
SPLASH_POTION
-
LINGERING_POTION
-
PUFFERFISH
-
RABBIT
-
RAVAGER
-
SALMON
-
SHEEP
-
SHULKER
-
SHULKER_BULLET
-
SILVERFISH
-
SKELETON
-
SKELETON_HORSE
-
SLIME
-
SMALL_FIREBALL
-
SNIFFER
-
SNOWBALL
-
SNOW_GOLEM
-
SPAWNER_MINECART
-
SPECTRAL_ARROW
-
SPIDER
-
SPRUCE_BOAT
-
SPRUCE_CHEST_BOAT
-
SQUID
-
STRAY
-
STRIDER
-
TADPOLE
-
TEXT_DISPLAY
-
TNT
-
TNT_MINECART
-
TRADER_LLAMA
-
TRIDENT
-
TROPICAL_FISH
-
TURTLE
-
UNKNOWN
-
VEX
-
VILLAGER
-
VINDICATOR
-
WANDERING_TRADER
-
WARDEN
-
WIND_CHARGE
-
WITCH
-
WITHER
-
WITHER_SKELETON
-
WITHER_SKULL
-
WOLF
-
ZOGLIN
-
ZOMBIE
-
ZOMBIE_HORSE
-
ZOMBIE_VILLAGER
-
ZOMBIFIED_PIGLIN
-
-
Field Details
-
REGISTRY
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValues
-
of
-
of
@NotNull public static @NotNull XEntityType of(@NotNull @NotNull org.bukkit.entity.EntityType entityType) -
of
-
getNames
- Specified by:
getNamesin interfaceXBase<XEntityType,org.bukkit.entity.EntityType>
-
get
public org.bukkit.entity.EntityType get()- Specified by:
getin interfaceXBase<XEntityType,org.bukkit.entity.EntityType>
-