public enum MothDefinition extends java.lang.Enum<MothDefinition> implements IButterflyDefinition
| Enum Constant and Description |
|---|
Atlas |
BombyxMori |
Brimstone |
LatticedHeath |
| Modifier and Type | Method and Description |
|---|---|
IButterflyGenome |
getGenome() |
IButterfly |
getIndividual() |
net.minecraft.item.ItemStack |
getMemberStack(EnumFlutterType flutterType) |
IAlleleButterflySpecies |
getSpecies() |
IAllele[] |
getTemplate() |
static void |
initMoths() |
static void |
preInit() |
protected IButterflyMutationBuilder |
registerMutation(IButterflyDefinition parent1,
IButterflyDefinition parent2,
int chance) |
protected void |
registerMutations() |
protected void |
setAlleles(IAllele[] alleles) |
protected void |
setSpeciesProperties(IAlleleButterflySpeciesBuilder species) |
static MothDefinition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MothDefinition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MothDefinition Brimstone
public static final MothDefinition LatticedHeath
public static final MothDefinition Atlas
public static final MothDefinition BombyxMori
public static MothDefinition[] values()
for (MothDefinition c : MothDefinition.values()) System.out.println(c);
public static MothDefinition valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static void preInit()
public static void initMoths()
protected void setSpeciesProperties(IAlleleButterflySpeciesBuilder species)
protected void setAlleles(IAllele[] alleles)
protected void registerMutations()
protected final IButterflyMutationBuilder registerMutation(IButterflyDefinition parent1, IButterflyDefinition parent2, int chance)
public final IAllele[] getTemplate()
getTemplate in interface IGeneticDefinitionpublic final IButterflyGenome getGenome()
getGenome in interface IGeneticDefinitiongetGenome in interface IButterflyDefinitionpublic final IButterfly getIndividual()
getIndividual in interface IGeneticDefinitiongetIndividual in interface IButterflyDefinitionpublic final net.minecraft.item.ItemStack getMemberStack(EnumFlutterType flutterType)
getMemberStack in interface IButterflyDefinitionpublic IAlleleButterflySpecies getSpecies()