@Environment(value=CLIENT) public class EnchantingPhrases extends Object
Modifier and Type | Field and Description |
---|---|
private static EnchantingPhrases |
INSTANCE |
private String[] |
phrases |
private Random |
random |
Modifier | Constructor and Description |
---|---|
private |
EnchantingPhrases() |
Modifier and Type | Method and Description |
---|---|
String |
generatePhrase(TextRenderer fontRenderer,
int width) |
static EnchantingPhrases |
getInstance() |
void |
setSeed(long seed) |
private static final EnchantingPhrases INSTANCE
private final Random random
private final String[] phrases
public static EnchantingPhrases getInstance()
public String generatePhrase(TextRenderer fontRenderer, int width)
public void setSeed(long seed)