Class HologramBuilder
-
- All Implemented Interfaces:
public final class HologramBuilder全息文本构建
-
-
Constructor Summary
Constructors Constructor Description HologramBuilder(Location location)Create empty Hologram builder
-
Method Summary
Modifier and Type Method Description final HologramBuilderstay(Long stay)持续时间 final HologramBuildercontent(Collection<String> content)内容 final HologramBuilderviewers(Player viewers)final HologramBuilderviewers(List<Player> viewers)final UnitaddViewer(Player player)添加观察者 final HologramBuilderanimation(Integer time, Location finalLocation)动画 final HologramBuilderplaceholder(Player player)换位符 final IHologrambuild()构建全息 -
-
Constructor Detail
-
HologramBuilder
HologramBuilder(Location location)
Create empty Hologram builder
-
-
Method Detail
-
stay
final HologramBuilder stay(Long stay)
持续时间
-
content
final HologramBuilder content(Collection<String> content)
内容
- Parameters:
content- 内容- Returns:
自身
-
viewers
final HologramBuilder viewers(Player viewers)
- Parameters:
viewers- 可以看到的玩家- Returns:
自身
-
viewers
final HologramBuilder viewers(List<Player> viewers)
- Parameters:
viewers- 可以看到的玩家- Returns:
自身
-
animation
final HologramBuilder animation(Integer time, Location finalLocation)
动画
- Parameters:
time- 持续时间finalLocation- 最终地点- Returns:
自身
-
placeholder
final HologramBuilder placeholder(Player player)
换位符
- Returns:
自身
-
-
-
-