Uses of Interface
org.bukkit.entity.EntitySnapshot
Packages that use 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
Methods in org.bukkit.block.spawner that return EntitySnapshotModifier and TypeMethodDescriptionSpawnerEntry.getSnapshot()Gets theEntitySnapshotfor this SpawnerEntry.Methods in org.bukkit.block.spawner with parameters of type EntitySnapshotModifier and TypeMethodDescriptionvoidSpawnerEntry.setSnapshot(@NotNull EntitySnapshot snapshot) Sets theEntitySnapshotfor this SpawnerEntry.Constructors in org.bukkit.block.spawner with parameters of type EntitySnapshotModifierConstructorDescriptionSpawnerEntry(@NotNull EntitySnapshot snapshot, int spawnWeight, @Nullable SpawnRule spawnRule) SpawnerEntry(@NotNull EntitySnapshot snapshot, int spawnWeight, @Nullable SpawnRule spawnRule, @Nullable SpawnerEntry.Equipment equipment) -
Uses of EntitySnapshot in org.bukkit.entity
Methods in org.bukkit.entity that return EntitySnapshotModifier and TypeMethodDescriptionEntityFactory.createEntitySnapshot(@NotNull String input) Create a new EntitySnapshot with the supplied input.
Accepts strings in the format output bygetAsString().Entity.createSnapshot()Crates anEntitySnapshotrepresenting the current state of this entity. -
Uses of EntitySnapshot in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return EntitySnapshotModifier and TypeMethodDescriptionSpawnEggMeta.getSpawnedEntity()Gets theEntitySnapshotthat will be spawned by this spawn egg or null if no entity has been set.Methods in org.bukkit.inventory.meta with parameters of type EntitySnapshotModifier and TypeMethodDescriptionvoidSpawnEggMeta.setSpawnedEntity(@NotNull EntitySnapshot snapshot) Sets theEntitySnapshotthat will be spawned by this spawn egg. -
Uses of EntitySnapshot in org.bukkit.spawner
Methods in org.bukkit.spawner that return EntitySnapshotModifier and TypeMethodDescriptionBaseSpawner.getSpawnedEntity()Gets theEntitySnapshotthat will be spawned by this spawner or null if no entities have been assigned to this spawner.Methods in org.bukkit.spawner with parameters of type EntitySnapshotModifier and TypeMethodDescriptionvoidBaseSpawner.addPotentialSpawn(@NotNull EntitySnapshot snapshot, int weight, @Nullable SpawnRule spawnRule) Adds a newEntitySnapshotto the list of entities this spawner can spawn.voidBaseSpawner.setSpawnedEntity(@Nullable EntitySnapshot snapshot) Sets the entity that will be spawned by this spawner.