public final class ItemEntry
extends java.lang.Object
| Constructor and Description |
|---|
ItemEntry(byte slot,
byte hotbarSlot,
byte count,
int stackNetworkId,
@NonNull java.lang.String customName,
int durabilityCorrection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
byte |
getCount() |
@NonNull java.lang.String |
getCustomName()
Holds the final custom name of a renamed item, if relevant.
|
int |
getDurabilityCorrection() |
byte |
getHotbarSlot() |
byte |
getSlot() |
int |
getStackNetworkId()
stackNetworkID is the network ID of the new stack at a specific slot.
|
int |
hashCode() |
java.lang.String |
toString() |
public ItemEntry(byte slot,
byte hotbarSlot,
byte count,
int stackNetworkId,
@NonNull
@NonNull java.lang.String customName,
int durabilityCorrection)
public byte getSlot()
public byte getHotbarSlot()
public byte getCount()
public int getStackNetworkId()
@NonNull public @NonNull java.lang.String getCustomName()
public int getDurabilityCorrection()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object