java.lang.Object
me.wolfyscript.customcrafting.recipes.types.CustomRecipe<CauldronRecipe,​NoneResultTarget>
me.wolfyscript.customcrafting.recipes.types.cauldron.CauldronRecipe
All Implemented Interfaces:
ICustomRecipe<CauldronRecipe,​NoneResultTarget>, me.wolfyscript.utilities.util.Keyed

public class CauldronRecipe extends CustomRecipe<CauldronRecipe,​NoneResultTarget>
  • Constructor Details

    • CauldronRecipe

      public CauldronRecipe(me.wolfyscript.utilities.util.NamespacedKey namespacedKey, me.wolfyscript.utilities.libraries.com.fasterxml.jackson.databind.JsonNode node)
    • CauldronRecipe

      public CauldronRecipe()
    • CauldronRecipe

      public CauldronRecipe(CauldronRecipe cauldronRecipe)
  • Method Details

    • getCookingTime

      public int getCookingTime()
    • setCookingTime

      public void setCookingTime(int cookingTime)
    • needsFire

      public boolean needsFire()
    • setNeedsFire

      public void setNeedsFire(boolean needsFire)
    • getWaterLevel

      public int getWaterLevel()
    • setWaterLevel

      public void setWaterLevel(int waterLevel)
    • needsWater

      public boolean needsWater()
    • setNeedsWater

      public void setNeedsWater(boolean needsWater)
    • getXp

      public float getXp()
    • setXp

      public void setXp(float xp)
    • getIngredient

      public Ingredient getIngredient()
    • setIngredient

      public void setIngredient(Ingredient ingredients)
    • dropItems

      public boolean dropItems()
    • setDropItems

      public void setDropItems(boolean dropItems)
    • checkRecipe

      public List<org.bukkit.entity.Item> checkRecipe(List<org.bukkit.entity.Item> items)
    • getHandItem

      public me.wolfyscript.utilities.api.inventory.custom_items.CustomItem getHandItem()
    • setHandItem

      public void setHandItem(me.wolfyscript.utilities.api.inventory.custom_items.CustomItem handItem)
    • getRecipeType

      public RecipeType<CauldronRecipe> getRecipeType()
    • getPacketType

      public RecipePacketType getPacketType()
    • setIngredient

      public void setIngredient(int slot, Ingredient ingredient)
      Description copied from interface: ICustomRecipe
      Used to set Ingredient from cache of the RecipeCreator
      Parameters:
      slot - The slot of the ingredient in the recipe.
      ingredient - The ingredient to set
    • getIngredient

      public Ingredient getIngredient(int slot)
    • clone

      public CauldronRecipe clone()
      Specified by:
      clone in interface ICustomRecipe<CauldronRecipe,​NoneResultTarget>
      Specified by:
      clone in class CustomRecipe<CauldronRecipe,​NoneResultTarget>
    • writeToJson

      public void writeToJson(me.wolfyscript.utilities.libraries.com.fasterxml.jackson.core.JsonGenerator gen, me.wolfyscript.utilities.libraries.com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
      Specified by:
      writeToJson in interface ICustomRecipe<CauldronRecipe,​NoneResultTarget>
      Overrides:
      writeToJson in class CustomRecipe<CauldronRecipe,​NoneResultTarget>
      Throws:
      IOException
    • prepareMenu

      public void prepareMenu(me.wolfyscript.utilities.api.inventory.gui.GuiHandler<CCCache> guiHandler, me.wolfyscript.utilities.api.inventory.gui.GuiCluster<CCCache> cluster)
    • renderMenu

      public void renderMenu(me.wolfyscript.utilities.api.inventory.gui.GuiWindow<CCCache> guiWindow, me.wolfyscript.utilities.api.inventory.gui.GuiUpdate<CCCache> event)