Enum Class DisguiseType
- All Implemented Interfaces:
Serializable
,Comparable<DisguiseType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends org.bukkit.entity.Entity> static DisguiseType
getType
(org.bukkit.entity.Entity entity) static DisguiseType
getType
(org.bukkit.entity.EntityType entityType) boolean
boolean
isCustom()
boolean
isMisc()
boolean
isMob()
boolean
isPlayer()
boolean
void
static DisguiseType
Returns the enum constant of this class with the specified name.static DisguiseType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
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
-
BOAT
-
BOGGED
-
BREEZE
-
BREEZE_WIND_CHARGE
-
CAMEL
-
CAT
-
CAVE_SPIDER
-
CHERRY_BOAT
-
CHERRY_CHEST_BOAT
-
CHEST_BOAT
-
CHICKEN
-
COD
-
COW
-
CREAKING
-
CREAKING_TRANSIENT
Deprecated. -
CREEPER
-
DARK_OAK_BOAT
-
DARK_OAK_CHEST_BOAT
-
DOLPHIN
-
DONKEY
-
DRAGON_FIREBALL
-
DROPPED_ITEM
-
DROWNED
-
EGG
-
ELDER_GUARDIAN
-
ENDERMAN
-
ENDERMITE
-
ENDER_CRYSTAL
-
ENDER_DRAGON
-
ENDER_PEARL
-
ENDER_SIGNAL
-
EVOKER
-
EVOKER_FANGS
-
EXPERIENCE_ORB
-
FALLING_BLOCK
-
FIREBALL
-
FIREWORK
-
FISHING_HOOK
-
FOX
-
FROG
-
GHAST
-
GIANT
-
GLOW_ITEM_FRAME
-
GLOW_SQUID
-
GOAT
-
GUARDIAN
-
HOGLIN
-
HORSE
-
HUSK
-
ILLUSIONER
-
INTERACTION
-
IRON_GOLEM
-
ITEM_DISPLAY
-
ITEM_FRAME
-
JUNGLE_BOAT
-
JUNGLE_CHEST_BOAT
-
LEASH_HITCH
-
LINGERING_POTION
-
LLAMA
-
LLAMA_SPIT
-
MAGMA_CUBE
-
MANGROVE_BOAT
-
MANGROVE_CHEST_BOAT
-
MARKER
-
MINECART
-
MINECART_CHEST
-
MINECART_COMMAND
-
MINECART_FURNACE
-
MINECART_HOPPER
-
MINECART_MOB_SPAWNER
-
MINECART_TNT
-
MODDED_LIVING
-
MODDED_MISC
-
MULE
-
MUSHROOM_COW
-
OAK_BOAT
-
OAK_CHEST_BOAT
-
OCELOT
-
OMINOUS_ITEM_SPAWNER
-
PAINTING
-
PALE_OAK_BOAT
-
PALE_OAK_CHEST_BOAT
-
PANDA
-
PARROT
-
PHANTOM
-
PIG
-
PIGLIN
-
PIGLIN_BRUTE
-
PIG_ZOMBIE
-
PILLAGER
-
PLAYER
-
POLAR_BEAR
-
PRIMED_TNT
-
PUFFERFISH
-
RABBIT
-
RAVAGER
-
SALMON
-
SHEEP
-
SHULKER
-
SHULKER_BULLET
-
SILVERFISH
-
SKELETON
-
SKELETON_HORSE
-
SLIME
-
SMALL_FIREBALL
-
SNIFFER
-
SNOWBALL
-
SNOWMAN
-
SPECTRAL_ARROW
-
SPIDER
-
SPLASH_POTION
-
SPRUCE_BOAT
-
SPRUCE_CHEST_BOAT
-
SQUID
-
STRAY
-
STRIDER
-
TADPOLE
-
TEXT_DISPLAY
-
THROWN_EXP_BOTTLE
-
TIPPED_ARROW
-
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
-
-
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
-
getType
-
getType
-
getNmsEntityType
-
getEntityClass
-
setTypeId
-
isMisc
public boolean isMisc() -
isMob
public boolean isMob() -
isPlayer
public boolean isPlayer() -
isUnknown
public boolean isUnknown() -
isCustom
public boolean isCustom() -
isArtDisplay
public boolean isArtDisplay() -
toReadable
-