Class ToolType

java.lang.Object
studio.magemonkey.mirage.tools.ToolType
Direct Known Subclasses:
DivinityToolType, ItemsAdderToolType, OraxenToolType, SapphireToolType, VanillaToolType

public abstract class ToolType extends Object
  • Field Details

    • id

      protected final String id
  • Constructor Details

    • ToolType

      public ToolType(String fullId)
  • Method Details

    • make

      @Nullable public static @Nullable ToolType make(String id)
    • getPrefix

      public abstract String getPrefix()
    • getId

      public String getId()
    • getFullId

      public String getFullId()
    • isInstance

      public abstract boolean isInstance(org.bukkit.inventory.ItemStack itemStack)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object