public class PropertyCocoon extends PropertyAllele<IAlleleButterflyCocoon>
name| Constructor and Description |
|---|
PropertyCocoon(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IAlleleButterflyCocoon> |
getAllowedValues() |
java.lang.String |
getName(IAlleleButterflyCocoon value) |
java.lang.Class<IAlleleButterflyCocoon> |
getValueClass() |
com.google.common.base.Optional<IAlleleButterflyCocoon> |
parseValue(java.lang.String value) |
equals, getName, hashCode, toStringpublic java.lang.Class<IAlleleButterflyCocoon> getValueClass()
public java.util.List<IAlleleButterflyCocoon> getAllowedValues()
getAllowedValues in interface net.minecraft.block.properties.IProperty<IAlleleButterflyCocoon>getAllowedValues in class PropertyAllele<IAlleleButterflyCocoon>public java.lang.String getName(IAlleleButterflyCocoon value)
public com.google.common.base.Optional<IAlleleButterflyCocoon> parseValue(java.lang.String value)
parseValue in interface net.minecraft.block.properties.IProperty<IAlleleButterflyCocoon>parseValue in class PropertyAllele<IAlleleButterflyCocoon>