Uses of Enum
org.bukkit.entity.EntityType
Packages that use EntityType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world,
including special states.Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.The interfaces used when manipulating extra data can can be stored inside
item stacks.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.
-
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>Vanilla tag representing arrows.static final Tag<EntityType>Vanilla tag representing which entities axolotls are always hostile to.static final Tag<EntityType>Vanilla tag representing axolotl targets.static final Tag<EntityType>Vanilla tag representing entities which can live in beehives.static final Tag<EntityType>Vanilla tag representing entities which are dismounted when underwater.static final Tag<EntityType>Vanilla tag representing entities which are immune from fall damage.static final Tag<EntityType>Vanilla tag representing entities extra susceptible to freezing.static final Tag<EntityType>Vanilla tag representing entities immune from freezing.static final Tag<EntityType>Vanilla tag representing entities which can be eaten by frogs.static final Tag<EntityType>Vanilla tag representing projectiles.static final Tag<EntityType>Vanilla tag representing mobs which can walk on powder snow.static final Tag<EntityType>Vanilla tag representing raiders.static final Tag<EntityType>Vanilla tag representing skeletons.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.intOfflinePlayer.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(Location location, EntityType type) Creates a entity at the givenLocationRegionAccessor.spawnEntity(Location loc, EntityType type, boolean randomizeData) Creates a new entity at the givenLocation. -
Uses of EntityType in org.bukkit.block
Methods in org.bukkit.block that return EntityTypeModifier and TypeMethodDescriptionCreatureSpawner.getSpawnedType()Get the spawner's creature type.Methods in org.bukkit.block with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidCreatureSpawner.setSpawnedType(EntityType creatureType) Set the spawner's creature type. -
Uses of EntityType in org.bukkit.entity
Methods in org.bukkit.entity that return EntityTypeModifier and TypeMethodDescriptionstatic EntityTypeEntityType.fromId(int id) Deprecated.Magic valuestatic EntityTypeDeprecated.Magic valueEntity.getType()Get the type of the entity.static EntityTypeReturns the enum constant of this type with the specified name.static EntityType[]EntityType.values()Returns an array containing the constants of this enum type, 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 ifgetStatistic()is an entity statistic otherwise returns null.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(EntityType hatchType) Change the type of mob being hatched by the eggConstructors in org.bukkit.event.player with parameters of type EntityTypeModifierConstructorDescriptionPlayerEggThrowEvent(Player player, Egg egg, boolean hatching, byte numHatches, EntityType hatchingType) PlayerStatisticIncrementEvent(Player player, Statistic statistic, int initialValue, int newValue, EntityType entityType) -
Uses of EntityType in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return EntityTypeModifier and TypeMethodDescriptionSpawnEggMeta.getSpawnedType()Deprecated.different types are different itemsMethods in org.bukkit.inventory.meta with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidSpawnEggMeta.setSpawnedType(EntityType type) Deprecated.different types are different items -
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 EntityType -
Uses of EntityType in org.bukkit.packs
Methods in org.bukkit.packs with parameters of type EntityTypeModifier and TypeMethodDescriptionbooleanDataPackManager.isEnabledByFeature(EntityType entityType, World world) 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 EntityTypeModifier and TypeMethodDescriptionstatic CriteriaCriteria.statistic(Statistic statistic, EntityType entityType) Get aCriteriafor the specified statistic pertaining to an entity type.