Uses of Interface
org.bukkit.entity.EntitySnapshot
Package
Description
Classes relevant to mob spawners.
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 related to entity spawners.
-
Uses of EntitySnapshot in org.bukkit.block.spawner
Modifier and TypeMethodDescriptionSpawnerEntry.getSnapshot()
Gets theEntitySnapshot
for this SpawnerEntry.Modifier and TypeMethodDescriptionvoid
SpawnerEntry.setSnapshot
(EntitySnapshot snapshot) Sets theEntitySnapshot
for this SpawnerEntry.ModifierConstructorDescriptionSpawnerEntry
(EntitySnapshot snapshot, int spawnWeight, SpawnRule spawnRule) SpawnerEntry
(EntitySnapshot snapshot, int spawnWeight, SpawnRule spawnRule, SpawnerEntry.Equipment equipment) -
Uses of EntitySnapshot in org.bukkit.entity
Modifier and TypeMethodDescriptionEntityFactory.createEntitySnapshot
(String input) Create a new EntitySnapshot with the supplied input.
Accepts strings in the format output bygetAsString()
.Entity.createSnapshot()
Crates anEntitySnapshot
representing the current state of this entity. -
Uses of EntitySnapshot in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionSpawnEggMeta.getSpawnedEntity()
Gets theEntitySnapshot
that will be spawned by this spawn egg or null if no entity has been set.Modifier and TypeMethodDescriptionvoid
SpawnEggMeta.setSpawnedEntity
(EntitySnapshot snapshot) Sets theEntitySnapshot
that will be spawned by this spawn egg. -
Uses of EntitySnapshot in org.bukkit.spawner
Modifier and TypeMethodDescriptionBaseSpawner.getSpawnedEntity()
Gets theEntitySnapshot
that will be spawned by this spawner or null if no entities have been assigned to this spawner.Modifier and TypeMethodDescriptionvoid
BaseSpawner.addPotentialSpawn
(EntitySnapshot snapshot, int weight, SpawnRule spawnRule) Adds a newEntitySnapshot
to the list of entities this spawner can spawn.void
BaseSpawner.setSpawnedEntity
(EntitySnapshot snapshot) Sets the entity that will be spawned by this spawner.