Package dev.sefiraat.sefilib.entity
Enum Class LivingEntityDefinition
- All Implemented Interfaces:
Serializable,Comparable<LivingEntityDefinition>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsIn(io.github.bakedlibs.dough.versions.SemanticVersion version) static LivingEntityDefinitionfromType(EntityType type) static Set<LivingEntityDefinition>getByCategory(LivingEntityCategory category) static Set<LivingEntityDefinition>getByCategory(LivingEntityCategory category, io.github.bakedlibs.dough.versions.SemanticVersion version) io.github.bakedlibs.dough.versions.SemanticVersiongetType()static LivingEntityDefinition[]booleanisAnimal()booleanbooleanbooleanisBoss()booleanbooleanisCategorized(LivingEntityCategory category) booleanisCategorized(LivingEntityCategory... categories) booleanisCategorized(Collection<LivingEntityCategory> categories) booleanisEnd()booleanisFish()booleanisFlying()booleanisGolem()booleanbooleanbooleanisNether()booleanbooleanbooleanisPiglin()booleanisRaid()booleanbooleanbooleanisTrader()booleanisUndead()booleanstatic LivingEntityDefinitionReturns the enum constant of this class with the specified name.static LivingEntityDefinition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLAY
-
AXOLOTL
-
BAT
-
BEE
-
BLAZE
-
CAT
-
CAVE_SPIDER
-
CHICKEN
-
COD
-
COW
-
CREEPER
-
DOLPHIN
-
DONKEY
-
DROWNED
-
ELDER_GUARDIAN
-
ENDER_DRAGON
-
ENDERMAN
-
ENDERMITE
-
EVOKER
-
FOX
-
FROG
-
GHAST
-
GIANT
-
GLOW_SQUID
-
GOAT
-
GUARDIAN
-
HOGLIN
-
HORSE
-
HUSK
-
ILLUSIONER
-
IRON_GOLEM
-
LLAMA
-
MAGMA_CUBE
-
MUSHROOM_COW
-
MULE
-
OCELOT
-
PANDA
-
PARROT
-
PHANTOM
-
PIG
-
PIGLIN
-
PIGLIN_BRUTE
-
PILLAGER
-
POLAR_BEAR
-
PUFFERFISH
-
RABBIT
-
RAVAGER
-
SALMON
-
SHEEP
-
SHULKER
-
SILVERFISH
-
SKELETON_HORSE
-
SLIME
-
SNOWMAN
-
SPIDER
-
SQUID
-
STRAY
-
STRIDER
-
TADPOLE
-
TRADER_LLAMA
-
TROPICAL_FISH
-
TURTLE
-
VEX
-
VILLAGER
-
VINDICATOR
-
WANDERING_TRADER
-
WARDEN
-
WITCH
-
WITHER
-
WITHER_SKELETON
-
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
-
getLowestVersion
public io.github.bakedlibs.dough.versions.SemanticVersion getLowestVersion() -
isFlying
public boolean isFlying() -
isPassive
public boolean isPassive() -
isHostile
public boolean isHostile() -
isNeutral
public boolean isNeutral() -
isTameable
public boolean isTameable() -
isAnimal
public boolean isAnimal() -
isAquatic
public boolean isAquatic() -
isBreedable
public boolean isBreedable() -
isNether
public boolean isNether() -
isArthropod
public boolean isArthropod() -
isFish
public boolean isFish() -
isRideable
public boolean isRideable() -
isUndead
public boolean isUndead() -
isEnd
public boolean isEnd() -
isBoss
public boolean isBoss() -
isRaid
public boolean isRaid() -
isIllager
public boolean isIllager() -
isPiglin
public boolean isPiglin() -
isGolem
public boolean isGolem() -
isVillager
public boolean isVillager() -
isTrader
public boolean isTrader() -
existsIn
public boolean existsIn(io.github.bakedlibs.dough.versions.SemanticVersion version) -
isCategorized
-
isCategorized
-
isCategorized
-
fromType
-
getValues
-
getByCategory
-
getByCategory
public static Set<LivingEntityDefinition> getByCategory(LivingEntityCategory category, io.github.bakedlibs.dough.versions.SemanticVersion version)
-