classinternallombokSource
public static class InventoryItem

One stack, its components (enchantments, names, ...) just come along for the ride

Enclosing type
Inventory

Constructors

public InventoryItem()

Methods

public int getCount()

Returns the count value.

Returns
int

Generated by Lombok's @Getter for the field count

public String getId()

Returns the id value.

Returns
String

Generated by Lombok's @Getter for the field id

public byte getSlot()

Returns the slot value.

Returns
byte

Generated by Lombok's @Getter for the field slot

public void setCount(int count)

Sets the count value.

Parameters
countint

Generated by Lombok's @Setter for the field count

public void setId(String id)

Sets the id value.

Parameters
idString

Generated by Lombok's @Setter for the field id

public void setSlot(byte slot)

Sets the slot value.

Parameters
slotbyte

Generated by Lombok's @Setter for the field slot