public class ItemDefinition
extends java.lang.Object
implements org.cloudburstmc.protocol.common.Definition
| Modifier and Type | Field and Description |
|---|---|
static ItemDefinition |
AIR |
static ItemDefinition |
LEGACY_FIREWORK |
| Constructor and Description |
|---|
ItemDefinition(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 static ItemDefinition AIR
public static ItemDefinition LEGACY_FIREWORK
public ItemDefinition(java.lang.String identifier,
int runtimeId,
boolean componentBased)
public java.lang.String getIdentifier()
public int getRuntimeId()
getRuntimeId in interface org.cloudburstmc.protocol.common.Definitionpublic boolean isComponentBased()
public 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