java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.ItemGroup
io.github.thebusybiscuit.slimefun4.api.items.groups.LockedItemGroup
All Implemented Interfaces:
net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class LockedItemGroup extends ItemGroup
Represents a ItemGroup that cannot be opened until the parent group(s) are fully unlocked.

See ItemGroup for the complete documentation.

Author:
TheBusyBiscuit
See Also:
  • Constructor Details

    • LockedItemGroup

      @ParametersAreNonnullByDefault public LockedItemGroup(org.bukkit.NamespacedKey key, org.bukkit.inventory.ItemStack item, org.bukkit.NamespacedKey... parents)
      The basic constructor for a LockedItemGroup. Like ItemGroup, the default tier is automatically set to 3.
      Parameters:
      key - A unique identifier for this group
      item - The display item for this group
      parents - The parent categories for this group
    • LockedItemGroup

      @ParametersAreNonnullByDefault public LockedItemGroup(org.bukkit.NamespacedKey key, org.bukkit.inventory.ItemStack item, int tier, org.bukkit.NamespacedKey... parents)
      The constructor for a LockedItemGroup.
      Parameters:
      key - A unique identifier for this group
      item - The display item for this group
      tier - The tier of this group
      parents - The parent categories for this group
  • Method Details