Class InventoryData

java.lang.Object
valorless.rarespawns.datamodels.InventoryData

public class InventoryData extends Object
Represents the inventory data for a rare entity in RareSpawns. Stores item stacks for each equipment slot (main hand, off hand, armor).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    org.bukkit.inventory.ItemStack
    The item in the entity's boots slot.
    org.bukkit.inventory.ItemStack
    The item in the entity's chestplate slot.
    org.bukkit.inventory.ItemStack
    The item in the entity's helmet slot.
    org.bukkit.inventory.ItemStack
    The item in the entity's leggings slot.
    org.bukkit.inventory.ItemStack
    The item in the entity's main hand slot.
    org.bukkit.inventory.ItemStack
    The item in the entity's off hand slot.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs an empty InventoryData object.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mainHand

      public org.bukkit.inventory.ItemStack mainHand
      The item in the entity's main hand slot.
    • offHand

      public org.bukkit.inventory.ItemStack offHand
      The item in the entity's off hand slot.
    • helmet

      public org.bukkit.inventory.ItemStack helmet
      The item in the entity's helmet slot.
    • chestplate

      public org.bukkit.inventory.ItemStack chestplate
      The item in the entity's chestplate slot.
    • leggings

      public org.bukkit.inventory.ItemStack leggings
      The item in the entity's leggings slot.
    • boots

      public org.bukkit.inventory.ItemStack boots
      The item in the entity's boots slot.
  • Constructor Details

    • InventoryData

      public InventoryData()
      Constructs an empty InventoryData object.