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 HologramBuilder
stay(Long stay)
持续时间 final HologramBuilder
content(Collection<String> content)
内容 final HologramBuilder
viewers(Player viewers)
final HologramBuilder
viewers(List<Player> viewers)
final Unit
addViewer(Player player)
添加观察者 final HologramBuilder
animation(Integer time, Location finalLocation)
动画 final HologramBuilder
placeholder(Player player)
换位符 final IHologram
build()
构建全息 -
-
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:
自身
-
-
-
-