public static class Types_v1_20_5.ItemStack
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENTS |
static java.lang.String |
COUNT |
static java.lang.String |
ID |
| Constructor and Description |
|---|
ItemStack() |
ItemStack(net.lenni0451.mcstructs.core.Identifier id,
int count,
ItemComponentMap components) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
ItemComponentMap |
getComponents() |
int |
getCount() |
net.lenni0451.mcstructs.core.Identifier |
getId() |
int |
hashCode() |
void |
setComponents(ItemComponentMap components) |
void |
setCount(int count) |
void |
setId(net.lenni0451.mcstructs.core.Identifier id) |
java.lang.String |
toString() |
public static final java.lang.String ID
public static final java.lang.String COUNT
public static final java.lang.String COMPONENTS
public ItemStack()
public ItemStack(net.lenni0451.mcstructs.core.Identifier id,
int count,
ItemComponentMap components)
public net.lenni0451.mcstructs.core.Identifier getId()
public int getCount()
public ItemComponentMap getComponents()
public void setId(net.lenni0451.mcstructs.core.Identifier id)
public void setCount(int count)
public void setComponents(ItemComponentMap components)
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