Usage
快速使用 TrHologram API 创建全息图
添加依赖
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Arasple:TrHologram:1.1'
}
<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>
创建全息
import me.arasple.mc.trhologram.api.TrHologramAPI;
TrHologramAPI.createHologram(Plugin plugin, String id, Location location, List<String> contents) Hologram
管理全息对象
hologram.updateLines(List<String> contents);
hologram.updateLocation(Loc);
hologram.updateViewDistance(String distance)
hologram.setViewCondition(String condition)
hologram.delete()
Last updated