Class HavenBagsPreview

java.lang.Object
valorless.havenbags.mods.HavenBagsPreview

public class HavenBagsPreview extends Object
A utility class to create a simplified preview of a list of ItemStacks, typically for visual representation or storage without the full complexity of Bukkit's ItemStack.
  • Field Details

  • Constructor Details

    • HavenBagsPreview

      public HavenBagsPreview(List<org.bukkit.inventory.ItemStack> itemStacks)
      Constructs a new HavenBagsPreview from a list of ItemStacks. Each valid item (not null or AIR) is converted to an HavenBagsPreview.ItemData and added to the preview list.
      Parameters:
      itemStacks - The list of ItemStacks to convert into a preview format.