Package valorless.rarespawns.datamodels
Class InventoryData
java.lang.Object
valorless.rarespawns.datamodels.InventoryData
Represents the inventory data for a rare entity in RareSpawns.
Stores item stacks for each equipment slot (main hand, off hand, armor).
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.bukkit.inventory.ItemStackThe item in the entity's boots slot.org.bukkit.inventory.ItemStackThe item in the entity's chestplate slot.org.bukkit.inventory.ItemStackThe item in the entity's helmet slot.org.bukkit.inventory.ItemStackThe item in the entity's leggings slot.org.bukkit.inventory.ItemStackThe item in the entity's main hand slot.org.bukkit.inventory.ItemStackThe item in the entity's off hand slot. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mainHand
public org.bukkit.inventory.ItemStack mainHandThe item in the entity's main hand slot. -
offHand
public org.bukkit.inventory.ItemStack offHandThe item in the entity's off hand slot. -
helmet
public org.bukkit.inventory.ItemStack helmetThe item in the entity's helmet slot. -
chestplate
public org.bukkit.inventory.ItemStack chestplateThe item in the entity's chestplate slot. -
leggings
public org.bukkit.inventory.ItemStack leggingsThe item in the entity's leggings slot. -
boots
public org.bukkit.inventory.ItemStack bootsThe item in the entity's boots slot.
-
-
Constructor Details
-
InventoryData
public InventoryData()Constructs an empty InventoryData object.
-