All source projects
MrUltimateLibrary Source
Standalone source project / 68 files
MrUltimateLibrary is the backbone of all my plugins; it offers features that facilitate plugin creation, maintenance, and updates.
java
MrUltimateLibrary/src/main/java/eu/mrneznamy/mrultimatelibrary/holograms/MrLibHologramProvider.java
JAVA · Read-only source
package eu.mrneznamy.mrultimatelibrary.holograms;
import org.bukkit.Location;
import java.util.List;
/**
* Interface for hologram providers
* Allows MrUltimateLibrary to support multiple hologram plugins
*/
public interface MrLibHologramProvider {
/**
* Create a new hologram
* @param name Unique name for the hologram
* @param location Location where to create the hologram
* @param lines List of lines to display
*/
void createHologram(String name, Location location, List<String> lines);
/**
* Update an existing hologram's lines
* @param name Name of the hologram
* @param lines New lines to display
*/
void updateHologram(String name, List<String> lines);
/**
* Delete a hologram
* @param name Name of the hologram to delete
*/
void deleteHologram(String name);
/**
* Check if this provider is enabled (plugin installed)
* @return true if the hologram plugin is available
*/
boolean isEnabled();
/**
* Check if a hologram exists
* @param name Name of the hologram
* @return true if the hologram exists
*/
boolean hologramExists(String name);
/**
* Get the name of this provider
* @return Provider name (e.g. "DecentHolograms", "CMI")
*/
String getProviderName();
}
53 linesGNU GENERAL PUBLIC LICENSE · Version 3, 29 June 2007 · UTF-8 · Read only