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