Class OutputScript

java.lang.Object
zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
zombie.scripting.entity.components.crafting.OutputScript

public class OutputScript extends CraftRecipe.IOScript
  • Field Details

    • createToItemScript

      protected OutputScript createToItemScript
  • Method Details

    • isValid

      protected boolean isValid()
    • hasCreateToItem

      public boolean hasCreateToItem()
    • getCreateToItemScript

      public OutputScript getCreateToItemScript()
    • hasFlag

      public boolean hasFlag(OutputFlag outputFlag)
    • isReplaceInput

      @Deprecated public boolean isReplaceInput()
      Deprecated.
    • getOriginalLine

      public String getOriginalLine()
    • getResourceType

      public ResourceType getResourceType()
    • getChance

      public float getChance()
    • getIntAmount

      public int getIntAmount()
    • getAmount

      public float getAmount()
    • getShapedIndex

      @Deprecated public int getShapedIndex()
      Deprecated.
    • isApplyOnTick

      public boolean isApplyOnTick()
    • isHandcraftOnly

      public boolean isHandcraftOnly()
    • isAutomationOnly

      public boolean isAutomationOnly()
    • getPossibleResultItems

      public ArrayList<Item> getPossibleResultItems()
    • getPossibleResultFluids

      public ArrayList<Fluid> getPossibleResultFluids()
    • getPossibleResultEnergies

      public ArrayList<Energy> getPossibleResultEnergies()
    • getOutputMapper

      public OutputMapper getOutputMapper()
    • getItem

      public Item getItem(CraftRecipeData craftRecipeData)
    • getFluid

      public Fluid getFluid()
    • getEnergy

      public Energy getEnergy()
    • getItemApplyMode

      public ItemApplyMode getItemApplyMode()
    • getFluidMatchMode

      public FluidMatchMode getFluidMatchMode()
    • isFluidExact

      public boolean isFluidExact()
    • isFluidPrimary

      public boolean isFluidPrimary()
    • isFluidAnything

      public boolean isFluidAnything()
    • isCreateUses

      @Deprecated public boolean isCreateUses()
      Deprecated.
    • containsItem

      public boolean containsItem(Item var1)
    • containsFluid

      public boolean containsFluid(Fluid fluidx)
    • containsEnergy

      public boolean containsEnergy(Energy energyx)
    • isFluidMatch

      public boolean isFluidMatch(FluidContainer fluidContainer)
    • isEnergyMatch

      public boolean isEnergyMatch(DrainableComboItem drainableComboItem)
    • isEnergyMatch

      public boolean isEnergyMatch(Energy energyx)
    • LoadBlock

      protected static OutputScript LoadBlock(CraftRecipe craftRecipe, ScriptParser.Block block) throws Exception
      Throws:
      Exception
    • Load

      protected static OutputScript Load(CraftRecipe craftRecipe, String string) throws Exception
      Throws:
      Exception
    • Load

      protected static OutputScript Load(CraftRecipe craftRecipe, String string0, boolean boolean1) throws Exception
      Throws:
      Exception
    • OnScriptsLoaded

      public void OnScriptsLoaded(ScriptLoadMode var1) throws Exception
      Throws:
      Exception
    • OnPostWorldDictionaryInit

      protected void OnPostWorldDictionaryInit() throws Exception
      Throws:
      Exception
    • canOutputItem

      public boolean canOutputItem(InventoryItem inventoryItem)
    • canOutputItem

      public boolean canOutputItem(Item item)