Usage
快速使用 TrHologram API 创建全息图
Add as dependency
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Arasple:TrHologram:1.11'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Arasple</groupId>
<artifactId>TrHologram</artifactId>
<version>1.1</version>
</dependency>
Create Hologram
import me.arasple.mc.trhologram.api.TrHologramAPI;
TrHologramAPI.createHologram(Plugin plugin, String id, Location location, List<String> contents) Hologram
Manager Hologram
hologram.updateLines(List<String> contents);
hologram.updateLocation(Loc);
hologram.updateViewDistance(String distance)
hologram.setViewCondition(String condition)
hologram.delete()
Last updated