java.lang.Object
me.wolfyscript.utilities.api.inventory.gui.GuiWindow<CCCache>
me.wolfyscript.customcrafting.gui.CCWindow
me.wolfyscript.customcrafting.gui.recipe_creator.recipe_creators.RecipeCreator
All Implemented Interfaces:
org.bukkit.event.Listener
Direct Known Subclasses:
AnvilCreator, BrewingCreator, CauldronCreator, CookingCreator, EliteWorkbenchCreator, EliteWorkbenchCreatorSettings, GrindstoneCreator, SmithingCreator, StonecutterCreator, WorkbenchCreator

public abstract class RecipeCreator extends CCWindow
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static String
     

    Fields inherited from class me.wolfyscript.customcrafting.gui.CCWindow

    api, customCrafting

    Fields inherited from class me.wolfyscript.utilities.api.inventory.gui.GuiWindow

    wolfyUtilities
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    RecipeCreator​(me.wolfyscript.utilities.api.inventory.gui.GuiCluster<CCCache> guiCluster, String namespace, int size, CustomCrafting customCrafting)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    abstract boolean
    validToSave​(CCCache cache)
     

    Methods inherited from class me.wolfyscript.customcrafting.gui.CCWindow

    getCustomCrafting, onUpdateAsync, onUpdateSync

    Methods inherited from class me.wolfyscript.utilities.api.inventory.gui.GuiWindow

    getButton, getCluster, getHelpInformation, getInventoryName, getInventoryType, getNamespacedKey, getSize, getWolfyUtilities, hasButton, isForceSyncUpdate, onClose, openActionChat, openChat, openChat, openChat, registerButton, sendMessage, sendMessage, sendMessage, sendMessage, setForceSyncUpdate

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • RecipeCreator

      protected RecipeCreator(me.wolfyscript.utilities.api.inventory.gui.GuiCluster<CCCache> guiCluster, String namespace, int size, CustomCrafting customCrafting)
  • Method Details

    • onInit

      public void onInit()
      Specified by:
      onInit in class me.wolfyscript.utilities.api.inventory.gui.GuiWindow<CCCache>
    • validToSave

      public abstract boolean validToSave(CCCache cache)