minified-worlds/com.dervarex.minified.worlds.save.playerdata/Inventory
Inventory.InventoryItem
public static class InventoryItemOne stack, its components (enchantments, names, ...) just come along for the ride
- Enclosing type
- Inventory
Constructors
public InventoryItem()Methods
int getCount()Returns the count value.String getId()Returns the id value.byte getSlot()Returns the slot value.void setCount(int)Sets the count value.void setId(String)Sets the id value.void setSlot(byte)Sets the slot value.getCount()
lombokSource
public int getCount()Returns the count value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field count
public String getId()public byte getSlot()Returns the slot value.
| Returns | ||
|---|---|---|
byte | ||
Generated by Lombok's @Getter for the field slot
setCount(int)
lombokSource
public void setCount(int count)Sets the count value.
| Parameters | ||
|---|---|---|
count | int | |
Generated by Lombok's @Setter for the field count
setId(String)
lombokSource
public void setId(String id)setSlot(byte)
lombokSource
public void setSlot(byte slot)Sets the slot value.
| Parameters | ||
|---|---|---|
slot | byte | |
Generated by Lombok's @Setter for the field slot