Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
max1mde committed Jul 28, 2023
2 parents d475aff + aad6fb1 commit 0069219
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
}
dependencies {
implementation 'com.github.MaximFiedler:HologramAPI:1.0.3'
implementation 'com.github.MaximFiedler:HologramAPI:1.0.4'
}
```
Maven
Expand All @@ -32,7 +32,7 @@ Maven
<dependency>
<groupId>com.github.MaximFiedler</groupId>
<artifactId>HologramAPI</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</dependency>
```

Expand All @@ -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<TextHologram> holograms = HologramAPI.getHologramAPI().getHologramsByID("YOUR_ID");
```

I did not test the api yet so if you find any bugs please open an issue

0 comments on commit 0069219

Please sign in to comment.