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