Uses of Enum Class
org.bukkit.entity.EntityType
Packages that use EntityType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relating to the specialized enhancements to
item stacks, as part of the meta data.Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.Classes involved in manipulating player inventories and item interactions.
The interfaces used when manipulating extra data can can be stored inside
item stacks.Isolated components which may form part of item meta.
Classes that represents various voxel types and states.
Classes dedicated to handling data pack information.
Interfaces used to manage the client side score display system.
Classes related to entity spawners.
-
Uses of EntityType in com.destroystokyo.paper.event.entity
Methods in com.destroystokyo.paper.event.entity that return EntityTypeModifier and TypeMethodDescriptionThrownEggHatchEvent.getHatchingType()Get the type of the mob being hatched (CHICKENby default)PreCreatureSpawnEvent.getType()Methods in com.destroystokyo.paper.event.entity with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidThrownEggHatchEvent.setHatchingType(EntityType hatchType) Change the type of mob being hatched by the eggConstructors in com.destroystokyo.paper.event.entity with parameters of type EntityTypeModifierConstructorDescriptionPreCreatureSpawnEvent(Location location, EntityType type, CreatureSpawnEvent.SpawnReason reason) PreSpawnerSpawnEvent(Location location, EntityType type, Location spawnerLocation) ThrownEggHatchEvent(Egg egg, boolean hatching, byte numHatches, EntityType hatchingType) -
Uses of EntityType in io.papermc.paper.datacomponent.item
Methods in io.papermc.paper.datacomponent.item that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionEquippable.allowedEntities()Gets the set of allowed entities that can equip this item.Method parameters in io.papermc.paper.datacomponent.item with type arguments of type EntityTypeModifier and TypeMethodDescriptionEquippable.Builder.allowedEntities(@Nullable RegistryKeySet<EntityType> allowedEntities) Sets the allowed entities that can equip this item. -
Uses of EntityType in io.papermc.paper.registry
Fields in io.papermc.paper.registry with type parameters of type EntityType -
Uses of EntityType in io.papermc.paper.registry.keys.tags
Fields in io.papermc.paper.registry.keys.tags with type parameters of type EntityTypeModifier and TypeFieldDescriptionstatic final TagKey<EntityType> EntityTypeTagKeys.AQUATIC#minecraft:aquaticstatic final TagKey<EntityType> EntityTypeTagKeys.ARROWS#minecraft:arrowsstatic final TagKey<EntityType> EntityTypeTagKeys.ARTHROPOD#minecraft:arthropodstatic final TagKey<EntityType> EntityTypeTagKeys.AXOLOTL_ALWAYS_HOSTILES#minecraft:axolotl_always_hostilesstatic final TagKey<EntityType> EntityTypeTagKeys.AXOLOTL_HUNT_TARGETS#minecraft:axolotl_hunt_targetsstatic final TagKey<EntityType> EntityTypeTagKeys.BEEHIVE_INHABITORS#minecraft:beehive_inhabitorsstatic final TagKey<EntityType> EntityTypeTagKeys.BOAT#minecraft:boatstatic final TagKey<EntityType> EntityTypeTagKeys.CAN_BREATHE_UNDER_WATER#minecraft:can_breathe_under_waterstatic final TagKey<EntityType> EntityTypeTagKeys.CAN_EQUIP_HARNESS#minecraft:can_equip_harnessstatic final TagKey<EntityType> EntityTypeTagKeys.CAN_EQUIP_SADDLE#minecraft:can_equip_saddlestatic final TagKey<EntityType> EntityTypeTagKeys.CAN_TURN_IN_BOATS#minecraft:can_turn_in_boatsstatic final TagKey<EntityType> EntityTypeTagKeys.CAN_WEAR_HORSE_ARMOR#minecraft:can_wear_horse_armorstatic final TagKey<EntityType> EntityTypeTagKeys.DEFLECTS_PROJECTILES#minecraft:deflects_projectilesstatic final TagKey<EntityType> EntityTypeTagKeys.DISMOUNTS_UNDERWATER#minecraft:dismounts_underwaterstatic final TagKey<EntityType> EntityTypeTagKeys.FALL_DAMAGE_IMMUNE#minecraft:fall_damage_immunestatic final TagKey<EntityType> EntityTypeTagKeys.FOLLOWABLE_FRIENDLY_MOBS#minecraft:followable_friendly_mobsstatic final TagKey<EntityType> EntityTypeTagKeys.FREEZE_HURTS_EXTRA_TYPES#minecraft:freeze_hurts_extra_typesstatic final TagKey<EntityType> EntityTypeTagKeys.FREEZE_IMMUNE_ENTITY_TYPES#minecraft:freeze_immune_entity_typesstatic final TagKey<EntityType> EntityTypeTagKeys.FROG_FOOD#minecraft:frog_foodstatic final TagKey<EntityType> EntityTypeTagKeys.IGNORES_POISON_AND_REGEN#minecraft:ignores_poison_and_regenstatic final TagKey<EntityType> EntityTypeTagKeys.ILLAGER#minecraft:illagerstatic final TagKey<EntityType> EntityTypeTagKeys.ILLAGER_FRIENDS#minecraft:illager_friendsstatic final TagKey<EntityType> EntityTypeTagKeys.IMMUNE_TO_INFESTED#minecraft:immune_to_infestedstatic final TagKey<EntityType> EntityTypeTagKeys.IMMUNE_TO_OOZING#minecraft:immune_to_oozingstatic final TagKey<EntityType> EntityTypeTagKeys.IMPACT_PROJECTILES#minecraft:impact_projectilesstatic final TagKey<EntityType> EntityTypeTagKeys.INVERTED_HEALING_AND_HARM#minecraft:inverted_healing_and_harmstatic final TagKey<EntityType> EntityTypeTagKeys.NO_ANGER_FROM_WIND_CHARGE#minecraft:no_anger_from_wind_chargestatic final TagKey<EntityType> EntityTypeTagKeys.NON_CONTROLLING_RIDER#minecraft:non_controlling_riderstatic final TagKey<EntityType> EntityTypeTagKeys.NOT_SCARY_FOR_PUFFERFISH#minecraft:not_scary_for_pufferfishstatic final TagKey<EntityType> EntityTypeTagKeys.POWDER_SNOW_WALKABLE_MOBS#minecraft:powder_snow_walkable_mobsstatic final TagKey<EntityType> EntityTypeTagKeys.RAIDERS#minecraft:raidersstatic final TagKey<EntityType> EntityTypeTagKeys.REDIRECTABLE_PROJECTILE#minecraft:redirectable_projectilestatic final TagKey<EntityType> EntityTypeTagKeys.SENSITIVE_TO_BANE_OF_ARTHROPODS#minecraft:sensitive_to_bane_of_arthropodsstatic final TagKey<EntityType> EntityTypeTagKeys.SENSITIVE_TO_IMPALING#minecraft:sensitive_to_impalingstatic final TagKey<EntityType> EntityTypeTagKeys.SENSITIVE_TO_SMITE#minecraft:sensitive_to_smitestatic final TagKey<EntityType> EntityTypeTagKeys.SKELETONS#minecraft:skeletonsstatic final TagKey<EntityType> EntityTypeTagKeys.UNDEAD#minecraft:undeadstatic final TagKey<EntityType> EntityTypeTagKeys.WITHER_FRIENDS#minecraft:wither_friendsstatic final TagKey<EntityType> EntityTypeTagKeys.ZOMBIES#minecraft:zombiesMethods in io.papermc.paper.registry.keys.tags that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionstatic TagKey<EntityType> Creates a tag key forEntityTypein the registryminecraft:entity_type. -
Uses of EntityType in io.papermc.paper.tag
Methods in io.papermc.paper.tag that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionprotected @NotNull Set<EntityType> EntitySetTag.getAllPossibleValues()Methods in io.papermc.paper.tag with parameters of type EntityTypeConstructors in io.papermc.paper.tag with parameters of type EntityTypeModifierConstructorDescriptionEntitySetTag(@NotNull NamespacedKey key, @NotNull EntityType... values) Constructor parameters in io.papermc.paper.tag with type arguments of type EntityTypeModifierConstructorDescriptionEntitySetTag(@NotNull NamespacedKey key, @NotNull Collection<EntityType> values) EntitySetTag(@NotNull NamespacedKey key, @NotNull Collection<EntityType> values, @NotNull Predicate<EntityType>... globalPredicates) EntitySetTag(@NotNull NamespacedKey key, @NotNull Predicate<EntityType> filter) -
Uses of EntityType in org.bukkit
Fields in org.bukkit with type parameters of type EntityTypeModifier and TypeFieldDescriptionstatic final Registry<EntityType> Registry.ENTITY_TYPEServer entity types.static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> Deprecated.static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> static final Tag<EntityType> Methods in org.bukkit with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidOfflinePlayer.decrementStatistic(Statistic statistic, EntityType entityType) Decrements the given statistic for this player for the given entity.voidOfflinePlayer.decrementStatistic(Statistic statistic, EntityType entityType, int amount) Decrements the given statistic for this player for the given entity.UnsafeValues.getSpawnEggLayerColor(EntityType entityType, int layer) Deprecated.the color is no longer available to the serverintOfflinePlayer.getStatistic(Statistic statistic, EntityType entityType) Gets the value of the given statistic for this player.UnsafeValues.getTranslationKey(EntityType entityType) Deprecated.voidOfflinePlayer.incrementStatistic(Statistic statistic, EntityType entityType) Increments the given statistic for this player for the given entity.voidOfflinePlayer.incrementStatistic(Statistic statistic, EntityType entityType, int amount) Increments the given statistic for this player for the given entity.voidOfflinePlayer.setStatistic(Statistic statistic, EntityType entityType, int newValue) Sets the given statistic for this player for the given entity.RegionAccessor.spawnEntity(@NotNull Location location, @NotNull EntityType type) Creates a entity at the givenLocationRegionAccessor.spawnEntity(@NotNull Location loc, @NotNull EntityType type, boolean randomizeData) Creates a new entity at the givenLocation.RegionAccessor.spawnEntity(@NotNull Location loc, @NotNull EntityType type, @NotNull CreatureSpawnEvent.SpawnReason reason) RegionAccessor.spawnEntity(@NotNull Location loc, @NotNull EntityType type, @NotNull CreatureSpawnEvent.SpawnReason reason, @Nullable Consumer<? super Entity> function) -
Uses of EntityType in org.bukkit.enchantments
Methods in org.bukkit.enchantments with parameters of type EntityTypeModifier and TypeMethodDescriptionabstract floatEnchantment.getDamageIncrease(int level, EntityType entityType) Deprecated, for removal: This API element is subject to removal in a future version.Enchantments now have a complex effect systems that cannot be reduced to a simple damage increase. -
Uses of EntityType in org.bukkit.entity
Methods in org.bukkit.entity that return EntityTypeModifier and TypeMethodDescriptionstatic @Nullable EntityTypeEntityType.fromId(int id) Deprecated, for removal: This API element is subject to removal in a future version.Magic valuestatic @Nullable EntityTypeGets an entity type from its name.EntitySnapshot.getEntityType()Gets the type of entity this template holds.Entity.getType()Get the type of the entity.static EntityTypeReturns the enum constant of this class with the specified name.static EntityType[]EntityType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of EntityType in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return EntityTypeModifier and TypeMethodDescriptionEntityEvent.getEntityType()Gets the EntityType of the Entity involved in this event. -
Uses of EntityType in org.bukkit.event.player
Methods in org.bukkit.event.player that return EntityTypeModifier and TypeMethodDescriptionPlayerStatisticIncrementEvent.getEntityType()Gets the EntityType ifPlayerStatisticIncrementEvent.getStatistic()is an entity statistic otherwise returnsnull.PlayerEggThrowEvent.getHatchingType()Get the type of the mob being hatched (EntityType.CHICKEN by default)Methods in org.bukkit.event.player with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidPlayerEggThrowEvent.setHatchingType(@NotNull EntityType hatchType) Change the type of mob being hatched by the eggConstructors in org.bukkit.event.player with parameters of type EntityTypeModifierConstructorDescriptionPlayerEggThrowEvent(@NotNull Player player, @NotNull Egg egg, boolean hatching, byte numHatches, @NotNull EntityType hatchingType) PlayerStatisticIncrementEvent(@NotNull Player player, @NotNull Statistic statistic, int initialValue, int newValue, @NotNull EntityType entityType) -
Uses of EntityType in org.bukkit.inventory
Methods in org.bukkit.inventory with parameters of type EntityTypeModifier and TypeMethodDescriptionItemFactory.getSpawnEgg(@NotNull EntityType type) Gets aMaterialrepresenting the spawn egg for the providedEntityType. -
Uses of EntityType in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return EntityTypeModifier and TypeMethodDescriptionSpawnEggMeta.getCustomSpawnedType()Get the custom type of entity this egg will spawn.SpawnEggMeta.getSpawnedType()Deprecated, for removal: This API element is subject to removal in a future version.different types are different itemsMethods in org.bukkit.inventory.meta with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidSpawnEggMeta.setCustomSpawnedType(@Nullable EntityType type) Set the custom type of entity this egg will spawn.voidSpawnEggMeta.setSpawnedType(EntityType type) Deprecated, for removal: This API element is subject to removal in a future version.different types are different items -
Uses of EntityType in org.bukkit.inventory.meta.components
Methods in org.bukkit.inventory.meta.components that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionEquippableComponent.getAllowedEntities()Gets the entities which can equip this item.Methods in org.bukkit.inventory.meta.components with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidEquippableComponent.setAllowedEntities(@Nullable EntityType entities) Sets the entities which can equip this item.Method parameters in org.bukkit.inventory.meta.components with type arguments of type EntityTypeModifier and TypeMethodDescriptionvoidEquippableComponent.setAllowedEntities(@Nullable Collection<EntityType> entities) Sets the entities which can equip this item.voidEquippableComponent.setAllowedEntities(@Nullable Tag<EntityType> tag) Set the entity types (represented as an entityTag) which can equip this item. -
Uses of EntityType in org.bukkit.material
Methods in org.bukkit.material that return EntityTypeModifier and TypeMethodDescriptionSpawnEgg.getSpawnedType()Deprecated.This is now stored inSpawnEggMeta.Methods in org.bukkit.material with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidSpawnEgg.setSpawnedType(EntityType type) Deprecated.This is now stored inSpawnEggMeta.Constructors in org.bukkit.material with parameters of type EntityTypeModifierConstructorDescriptionSpawnEgg(EntityType type) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of EntityType in org.bukkit.packs
Methods in org.bukkit.packs with parameters of type EntityTypeModifier and TypeMethodDescriptionbooleanDataPackManager.isEnabledByFeature(@NotNull EntityType entityType, @NotNull World world) Deprecated, for removal: This API element is subject to removal in a future version.Gets if the EntityType is enabled for use by the Features in World. -
Uses of EntityType in org.bukkit.scoreboard
Methods in org.bukkit.scoreboard with parameters of type EntityType -
Uses of EntityType in org.bukkit.spawner
Methods in org.bukkit.spawner that return EntityTypeMethods in org.bukkit.spawner with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidBaseSpawner.setSpawnedType(@Nullable EntityType creatureType) Set the spawner's creature type.
Tag.ENTITY_TYPES_DEFLECTS_PROJECTILES