Interface HolographicHologramSkin.PlayerSpecificLinesSupplier
- Enclosing interface:
- HolographicHologramSkin
public static interface HolographicHologramSkin.PlayerSpecificLinesSupplier
Displays specific lines that vary to each player.
 
This is for instance used by the stats hologram to display different stats to each player.
- 
Method SummaryModifier and TypeMethodDescriptionvoidGets called when we want to know which lines shall be displayed to the player.Creates a new supplier that auto-translates the given message for each player.Creates a new supplier that auto-translates the given message for each player.
- 
Method Details- 
getLinesGets called when we want to know which lines shall be displayed to the player.- Parameters:
- player- The according player
- callback- The callback to which you shall return the lines. May be async
 
- 
ofCreates a new supplier that auto-translates the given message for each player.- Parameters:
- message- The message to display
- Returns:
- The new supplier
 
- 
ofCreates a new supplier that auto-translates the given message for each player.- Parameters:
- lines- The lines to display
- Returns:
- The new supplier
 
 
-