public abstract class PropertyAllele<A extends IAlleleProperty<A>>
extends java.lang.Object
implements net.minecraft.block.properties.IProperty<A>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
| Constructor and Description |
|---|
PropertyAllele(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
abstract java.util.List<A> |
getAllowedValues() |
java.lang.String |
getName() |
int |
hashCode() |
com.google.common.base.Optional<A> |
parseValue(java.lang.String value) |
java.lang.String |
toString() |
public java.lang.String getName()
getName in interface net.minecraft.block.properties.IProperty<A extends IAlleleProperty<A>>public java.lang.String toString()
toString in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic com.google.common.base.Optional<A> parseValue(java.lang.String value)
parseValue in interface net.minecraft.block.properties.IProperty<A extends IAlleleProperty<A>>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic abstract java.util.List<A> getAllowedValues()
getAllowedValues in interface net.minecraft.block.properties.IProperty<A extends IAlleleProperty<A>>