Class OutputScript
java.lang.Object
zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
zombie.scripting.entity.components.crafting.OutputScript
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canOutputItem
(InventoryItem item) 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.void
Methods inherited from class zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
getParentRecipe, getRecipeLineIndex
-
Method Details
-
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
-
OnScriptsLoaded
- Throws:
Exception
-
canOutputItem
-
canOutputItem
-