Uses of Class
org.bukkit.entity.EntityType
-
Packages that use EntityType Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.event.entity org.bukkit.event.player org.bukkit.inventory.meta The interfaces used when manipulating extra data can can be stored insideitem stacks.org.bukkit.material Classes that represents various voxel types and states. -
-
Uses of EntityType in org.bukkit
Fields in org.bukkit with type parameters of type EntityType Modifier and Type Field Description static Registry<EntityType>Registry. ENTITY_TYPEServer entity types.Methods in org.bukkit with parameters of type EntityType Modifier and Type Method Description voidOfflinePlayer. decrementStatistic(@NotNull Statistic statistic, @NotNull EntityType entityType)Decrements the given statistic for this player for the given entity.voidOfflinePlayer. decrementStatistic(@NotNull Statistic statistic, @NotNull EntityType entityType, int amount)Decrements the given statistic for this player for the given entity.intOfflinePlayer. getStatistic(@NotNull Statistic statistic, @NotNull EntityType entityType)Gets the value of the given statistic for this player.voidOfflinePlayer. incrementStatistic(@NotNull Statistic statistic, @NotNull EntityType entityType)Increments the given statistic for this player for the given entity.voidOfflinePlayer. incrementStatistic(@NotNull Statistic statistic, @NotNull EntityType entityType, int amount)Increments the given statistic for this player for the given entity.voidOfflinePlayer. setStatistic(@NotNull Statistic statistic, @NotNull EntityType entityType, int newValue)Sets the given statistic for this player for the given entity.@NotNull EntityWorld. spawnEntity(@NotNull Location loc, @NotNull EntityType type)Creates a entity at the givenLocation -
Uses of EntityType in org.bukkit.block
Methods in org.bukkit.block that return EntityType Modifier and Type Method Description @NotNull EntityTypeCreatureSpawner. getSpawnedType()Get the spawner's creature type.Methods in org.bukkit.block with parameters of type EntityType Modifier and Type Method Description voidCreatureSpawner. setSpawnedType(@NotNull EntityType creatureType)Set the spawner's creature type. -
Uses of EntityType in org.bukkit.entity
Methods in org.bukkit.entity that return EntityType Modifier and Type Method Description static @Nullable EntityTypeEntityType. fromId(int id)Deprecated.Magic valuestatic @Nullable EntityTypeEntityType. fromName(@Nullable String name)Deprecated.Magic value@NotNull EntityTypeEntity. getType()Get the type of the entity.static EntityTypeEntityType. valueOf(String name)Returns 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 EntityType Modifier and Type Method Description @NotNull EntityTypeEntityEvent. 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 EntityType Modifier and Type Method Description @Nullable EntityTypePlayerStatisticIncrementEvent. getEntityType()Gets the EntityType ifgetStatistic()is an entity statistic otherwise returns null.@NotNull EntityTypePlayerEggThrowEvent. getHatchingType()Get the type of the mob being hatched (EntityType.CHICKEN by default)Methods in org.bukkit.event.player with parameters of type EntityType Modifier and Type Method Description voidPlayerEggThrowEvent. setHatchingType(@NotNull EntityType hatchType)Change the type of mob being hatched by the eggConstructors in org.bukkit.event.player with parameters of type EntityType Constructor Description PlayerEggThrowEvent(@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.meta
Methods in org.bukkit.inventory.meta that return EntityType Modifier and Type Method Description EntityTypeSpawnEggMeta. getSpawnedType()Deprecated.different types are different itemsMethods in org.bukkit.inventory.meta with parameters of type EntityType Modifier and Type Method Description voidSpawnEggMeta. setSpawnedType(EntityType type)Deprecated.different types are different items -
Uses of EntityType in org.bukkit.material
Methods in org.bukkit.material that return EntityType Modifier and Type Method Description EntityTypeSpawnEgg. getSpawnedType()Deprecated.This is now stored inSpawnEggMeta.Methods in org.bukkit.material with parameters of type EntityType Modifier and Type Method Description voidSpawnEgg. setSpawnedType(EntityType type)Deprecated.This is now stored inSpawnEggMeta.Constructors in org.bukkit.material with parameters of type EntityType Constructor Description SpawnEgg(EntityType type)Deprecated.
-