public class AlleleButterflyCocoon extends AlleleCategorized implements IAlleleButterflyCocoon
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyInteger |
AGE |
static PropertyCocoon |
COCOON |
| Constructor and Description |
|---|
AlleleButterflyCocoon(java.lang.String name,
boolean isDominant) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLoot(net.minecraft.item.ItemStack loot,
float chance) |
void |
clearLoot() |
int |
compareTo(IAlleleButterflyCocoon o)
To compare the allele for the properties
|
net.minecraft.client.renderer.block.model.ModelResourceLocation |
getCocoonItemModel(int age) |
java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> |
getCocoonLoot() |
java.lang.String |
getCocoonName() |
getAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominant, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominantpublic static final PropertyCocoon COCOON
public static final net.minecraft.block.properties.PropertyInteger AGE
public AlleleButterflyCocoon(java.lang.String name,
boolean isDominant)
public java.lang.String getCocoonName()
getCocoonName in interface IAlleleButterflyCocoonpublic net.minecraft.client.renderer.block.model.ModelResourceLocation getCocoonItemModel(int age)
getCocoonItemModel in interface IAlleleButterflyCocoonpublic void clearLoot()
clearLoot in interface IAlleleButterflyCocoonpublic void addLoot(net.minecraft.item.ItemStack loot,
float chance)
addLoot in interface IAlleleButterflyCocoonpublic java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> getCocoonLoot()
getCocoonLoot in interface IAlleleButterflyCocoonpublic int compareTo(IAlleleButterflyCocoon o)
IAllelePropertycompareTo in interface IAlleleProperty<IAlleleButterflyCocoon>compareTo in interface java.lang.Comparable<IAlleleButterflyCocoon>