public class SimpleItemDefinition extends java.lang.Object implements ItemDefinition
AIR, LEGACY_FIREWORK| Constructor and Description |
|---|
SimpleItemDefinition(java.lang.String identifier,
int runtimeId,
boolean componentBased) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getIdentifier() |
int |
getRuntimeId() |
int |
hashCode() |
boolean |
isComponentBased() |
java.lang.String |
toString() |
public SimpleItemDefinition(java.lang.String identifier,
int runtimeId,
boolean componentBased)
public java.lang.String getIdentifier()
getIdentifier in interface org.cloudburstmc.protocol.common.NamedDefinitionpublic int getRuntimeId()
getRuntimeId in interface org.cloudburstmc.protocol.common.Definitionpublic boolean isComponentBased()
isComponentBased in interface ItemDefinitionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object