public static enum ItemResearchNote.EnumNoteType extends java.lang.Enum<ItemResearchNote.EnumNoteType>
| Modifier and Type | Field and Description |
|---|---|
static ItemResearchNote.EnumNoteType[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static ItemResearchNote.ResearchNote |
createMutationNote(com.mojang.authlib.GameProfile researcher,
IMutation mutation) |
static net.minecraft.item.ItemStack |
createMutationNoteStack(net.minecraft.item.Item item,
com.mojang.authlib.GameProfile researcher,
IMutation mutation) |
static ItemResearchNote.ResearchNote |
createSpeciesNote(com.mojang.authlib.GameProfile researcher,
IAlleleSpecies species) |
static net.minecraft.item.ItemStack |
createSpeciesNoteStack(net.minecraft.item.Item item,
com.mojang.authlib.GameProfile researcher,
IAlleleSpecies species) |
java.util.List<java.lang.String> |
getTooltip(net.minecraft.nbt.NBTTagCompound compound) |
boolean |
registerResults(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.nbt.NBTTagCompound compound) |
static ItemResearchNote.EnumNoteType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemResearchNote.EnumNoteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemResearchNote.EnumNoteType NONE
public static final ItemResearchNote.EnumNoteType MUTATION
public static final ItemResearchNote.EnumNoteType SPECIES
public static final ItemResearchNote.EnumNoteType[] VALUES
public static ItemResearchNote.EnumNoteType[] values()
for (ItemResearchNote.EnumNoteType c : ItemResearchNote.EnumNoteType.values()) System.out.println(c);
public static ItemResearchNote.EnumNoteType 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 java.util.List<java.lang.String> getTooltip(net.minecraft.nbt.NBTTagCompound compound)
public boolean registerResults(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.nbt.NBTTagCompound compound)
public static ItemResearchNote.ResearchNote createMutationNote(com.mojang.authlib.GameProfile researcher, IMutation mutation)
public static net.minecraft.item.ItemStack createMutationNoteStack(net.minecraft.item.Item item,
com.mojang.authlib.GameProfile researcher,
IMutation mutation)
public static ItemResearchNote.ResearchNote createSpeciesNote(com.mojang.authlib.GameProfile researcher, IAlleleSpecies species)
public static net.minecraft.item.ItemStack createSpeciesNoteStack(net.minecraft.item.Item item,
com.mojang.authlib.GameProfile researcher,
IAlleleSpecies species)