Constructor and Description |
---|
StaticPlainText(String string) |
Modifier and Type | Method and Description |
---|---|
String |
get(CommandIssuer issuer)
Returns a plain text preprocessed for a specific command issuer.
|
String |
getString() |
StaticPlainText |
setString(String string) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asHTML, toANSI, toMinecraft
@ConstructorProperties(value="string") public StaticPlainText(String string)
public String get(CommandIssuer issuer)
UIText
Returns a plain text preprocessed for a specific command issuer.
A common usage of the issuer parameter is to translate to that issuer's locale.
This method should return a consistent value if null
is passed in.
get
in interface UIText
issuer
- the CommandIssuer
whom this text will be preprocessed for. If null
, a default value
should be returned.public String getString()
public StaticPlainText setString(String string)
Copyright © 2016. All rights reserved.