Interface HologramStorage
public interface HologramStorage
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes a hologram.loadAll()Loads all holograms from all worldsLoads all holograms from a specific worldvoidSaves a hologram.voidsaveBatch(Collection<Hologram> holograms, boolean override) Saves a collection of holograms.
-
Method Details
-
saveBatch
Saves a collection of holograms.- Parameters:
holograms- The holograms to save.override- Whether to override existing holograms.
-
save
-
delete
-
loadAll
Collection<Hologram> loadAll()Loads all holograms from all worlds- Returns:
- A collection of all loaded holograms.
-
loadAll
Loads all holograms from a specific world- Parameters:
world- The world to load the holograms from.- Returns:
- A collection of all loaded holograms.
-