public static class Cheat.CheatHover.Literal extends Cheat.CheatHover
Cheat.CheatHover.Literal
Modifier and Type | Method and Description |
---|---|
String |
compile()
Compile message with default lang
Prefer use
Cheat.CheatHover.compile(NegativityPlayer) to have a message translated for each player |
String |
compile(NegativityPlayer np)
Compile message with the lang of the given negativity player
|
getKey, getPlaceholders
public Literal(String text)
public String compile()
Cheat.CheatHover
Cheat.CheatHover.compile(NegativityPlayer)
to have a message translated for each playercompile
in class Cheat.CheatHover
public String compile(NegativityPlayer np)
Cheat.CheatHover
compile
in class Cheat.CheatHover
np
- the player which will receive the message