Package net.draycia.carbon.api.util
Class InventorySlot
java.lang.Object
net.draycia.carbon.api.util.InventorySlot
A slot in a player's inventory.
- Since:
- 2.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InventorySlotstatic final InventorySlotstatic final InventorySlotstatic final InventorySlotstatic final InventorySlotstatic final InventorySlotstatic List<InventorySlot> -
Method Summary
Modifier and TypeMethodDescriptionstatic InventorySlotAnInventorySlotinstance, usable in chat with the given placeholders.Returns this slot's placeholders, which can be used in chat to show the item in said slot.
-
Field Details
-
HELMET
-
CHEST
-
LEGS
-
BOOTS
-
MAIN_HAND
-
OFF_HAND
-
SLOTS
-
-
Method Details
-
of
AnInventorySlotinstance, usable in chat with the given placeholders.- Parameters:
placeholders- the placeholders that can be used in chat- Returns:
- the instance
- Since:
- 2.0.0
-
placeholders
Returns this slot's placeholders, which can be used in chat to show the item in said slot.- Returns:
- this slot's placeholders
- Since:
- 2.0.0
-