diff --git a/README.md b/README.md index 925b62d..9f09a7f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ repositories { } dependencies { - implementation 'com.github.MaximFiedler:HologramAPI:1.0.3' + implementation 'com.github.MaximFiedler:HologramAPI:1.0.4' } ``` Maven @@ -32,7 +32,7 @@ Maven com.github.MaximFiedler HologramAPI - 1.0.3 + 1.0.4 ``` @@ -48,4 +48,16 @@ TextHologram hologram = new TextHologram("holo") .spawn(Bukkit.getWorld("world").getSpawnLocation()); ``` +Remove all holograms with a specific ID + +```java +HologramAPI.getHologramAPI().removeAllHologramsByID("YOUR_ID"); +``` + +Get all holograms with the same ID as a list + +```java +List holograms = HologramAPI.getHologramAPI().getHologramsByID("YOUR_ID"); +``` + I did not test the api yet so if you find any bugs please open an issue