public class EnchantmentNameParts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static EnchantmentNameParts |
INSTANCE |
private java.lang.String[] |
namePartsArray |
private java.util.Random |
rand |
Constructor and Description |
---|
EnchantmentNameParts() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateNewRandomName(FontRenderer fontRendererIn,
int length) |
static EnchantmentNameParts |
getInstance() |
void |
reseedRandomGenerator(long seed) |
private static final EnchantmentNameParts INSTANCE
private final java.util.Random rand
private final java.lang.String[] namePartsArray
public static EnchantmentNameParts getInstance()
public java.lang.String generateNewRandomName(FontRenderer fontRendererIn, int length)
public void reseedRandomGenerator(long seed)