Modifier and Type | Field and Description |
---|---|
static NamespacedRegistry<EntityType> |
REGISTRY |
Constructor and Description |
---|
EntityType(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The id of this object in the registry.
|
java.lang.String |
getName()
Gets the name of this item, or the ID if the name cannot be found.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final NamespacedRegistry<EntityType> REGISTRY
public java.lang.String getId()
Keyed
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object