Class OutputScript
java.lang.Object
zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
zombie.scripting.entity.components.crafting.OutputScript
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
canOutputItem
(InventoryItem inventoryItem) boolean
canOutputItem
(Item item) boolean
containsEnergy
(Energy energyx) boolean
containsFluid
(Fluid fluidx) boolean
containsItem
(Item var1) float
float
getFluid()
int
getItem
(CraftRecipeData craftRecipeData) int
Deprecated.boolean
boolean
hasFlag
(OutputFlag outputFlag) boolean
boolean
boolean
Deprecated.boolean
isEnergyMatch
(Energy energyx) boolean
isEnergyMatch
(DrainableComboItem drainableComboItem) boolean
boolean
boolean
isFluidMatch
(FluidContainer fluidContainer) boolean
boolean
boolean
Deprecated.protected boolean
isValid()
protected static OutputScript
Load
(CraftRecipe craftRecipe, String string) protected static OutputScript
Load
(CraftRecipe craftRecipe, String string0, boolean boolean1) protected static OutputScript
LoadBlock
(CraftRecipe craftRecipe, ScriptParser.Block block) protected void
void
Methods inherited from class zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
getParentRecipe, getRecipeLineIndex
-
Field Details
-
createToItemScript
-
-
Method Details
-
isValid
protected boolean isValid() -
hasCreateToItem
public boolean hasCreateToItem() -
getCreateToItemScript
-
hasFlag
-
isReplaceInput
Deprecated. -
getOriginalLine
-
getResourceType
-
getChance
public float getChance() -
getIntAmount
public int getIntAmount() -
getAmount
public float getAmount() -
getShapedIndex
Deprecated. -
isApplyOnTick
public boolean isApplyOnTick() -
isHandcraftOnly
public boolean isHandcraftOnly() -
isAutomationOnly
public boolean isAutomationOnly() -
getPossibleResultItems
-
getPossibleResultFluids
-
getPossibleResultEnergies
-
getOutputMapper
-
getItem
-
getFluid
-
getEnergy
-
getItemApplyMode
-
getFluidMatchMode
-
isFluidExact
public boolean isFluidExact() -
isFluidPrimary
public boolean isFluidPrimary() -
isFluidAnything
public boolean isFluidAnything() -
isCreateUses
Deprecated. -
containsItem
-
containsFluid
-
containsEnergy
-
isFluidMatch
-
isEnergyMatch
-
isEnergyMatch
-
LoadBlock
protected static OutputScript LoadBlock(CraftRecipe craftRecipe, ScriptParser.Block block) throws Exception - Throws:
Exception
-
Load
- Throws:
Exception
-
Load
protected static OutputScript Load(CraftRecipe craftRecipe, String string0, boolean boolean1) throws Exception - Throws:
Exception
-
OnScriptsLoaded
- Throws:
Exception
-
OnPostWorldDictionaryInit
-
canOutputItem
-
canOutputItem
-