Class ItemSubType

java.lang.Object
studio.magemonkey.divinity.types.ItemSubType

public class ItemSubType extends Object
  • Constructor Details

    • ItemSubType

      public ItemSubType(@NotNull String id, @NotNull String name, @NotNull Set<String> mats)
  • Method Details

    • getId

      @NotNull public String getId()
    • getName

      @NotNull public String getName()
    • setName

      public void setName(@NotNull String name)
    • getMaterials

      @NotNull public Set<studio.magemonkey.codex.api.items.ItemType> getMaterials()
    • isItemOfThis

      public boolean isItemOfThis(@NotNull org.bukkit.inventory.ItemStack item)
    • isItemOfThis

      @Deprecated public boolean isItemOfThis(@NotNull org.bukkit.Material mat)
      Deprecated.
    • isItemOfThis

      public boolean isItemOfThis(@NotNull String mat)