Package de.oliver.fancyholograms.api
Schnittstelle HologramStorage
public interface HologramStorage
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidDeletes 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.
-
Methodendetails
-
saveBatch
Saves a collection of holograms.- Parameter:
holograms- The holograms to save.override- Whether to override existing holograms.
-
save
Saves a hologram.- Parameter:
hologram- The hologram to save.
-
delete
Deletes a hologram.- Parameter:
hologram- The hologram to delete.
-
loadAll
Collection<Hologram> loadAll()Loads all holograms from all worlds- Gibt zurück:
- A collection of all loaded holograms.
-
loadAll
Loads all holograms from a specific world- Parameter:
world- The world to load the holograms from.- Gibt zurück:
- A collection of all loaded holograms.
-