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