Class InputScript
java.lang.Object
zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
zombie.scripting.entity.components.crafting.InputScript
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
canUseItem
(String arg0) boolean
canUseItem
(InventoryItem arg0) boolean
containsEnergy
(Energy arg0) boolean
containsFluid
(Fluid arg0) boolean
containsItem
(Item arg0) boolean
boolean
boolean
boolean
boolean
doesItemPassRoutineStatusTests
(InventoryItem item, IsoGameCharacter character) boolean
boolean
float
float
getAmount
(int arg0) float
int
int
getIntAmount
(int arg0) int
getIntAmount
(String arg0) int
int
getIntMaxAmount
(int int0) int
getIntMaxAmount
(String string) float
float
getMaxAmount
(int int0) float
getMaxAmount
(String string0) float
getRelativeScale
(String arg0) Deprecated.int
Deprecated.getTags()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
boolean
boolean
isEnergyMatch
(Energy arg0) boolean
boolean
boolean
boolean
boolean
isFluidMatch
(FluidContainer arg0) boolean
boolean
boolean
isFull()
boolean
boolean
boolean
boolean
isKeep()
boolean
boolean
boolean
isProp1()
boolean
isProp2()
boolean
boolean
Deprecated.boolean
boolean
isTool()
boolean
boolean
boolean
boolean
boolean
isUsesPartialItem
(Item arg0) boolean
boolean
boolean
isWorn()
boolean
boolean
boolean
boolean
boolean
notEmpty()
boolean
notFull()
void
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
getParentRecipe, getRecipeLineIndex
-
Method Details
-
getPossibleInputItems
-
getPossibleInputFluids
-
getInputFluidFilterDisplayName
-
getInputFluidFilterTooltip
-
getPossibleInputEnergies
-
hasCreateToItem
public boolean hasCreateToItem() -
getCreateToItemScript
-
hasConsumeFromItem
public boolean hasConsumeFromItem() -
getConsumeFromItemScript
-
hasParentScript
public boolean hasParentScript() -
getParentScript
-
hasFlag
-
getOriginalLine
-
getResourceType
-
isUsesPartialItem
-
isExclusive
public boolean isExclusive() -
isItemCount
public boolean isItemCount() -
isDestroy
public boolean isDestroy() -
isKeep
public boolean isKeep() -
isTool
public boolean isTool() -
isToolLeft
public boolean isToolLeft() -
isToolRight
public boolean isToolRight() -
isWorn
public boolean isWorn() -
isNotWorn
public boolean isNotWorn() -
isFull
public boolean isFull() -
isEmpty
public boolean isEmpty() -
notFull
public boolean notFull() -
notEmpty
public boolean notEmpty() -
isDamaged
public boolean isDamaged() -
isUndamaged
public boolean isUndamaged() -
allowFrozenItem
public boolean allowFrozenItem() -
allowRottenItem
public boolean allowRottenItem() -
allowDestroyedItem
public boolean allowDestroyedItem() -
isEmptyContainer
public boolean isEmptyContainer() -
isWholeFoodItem
public boolean isWholeFoodItem() -
isUncookedFoodItem
public boolean isUncookedFoodItem() -
isCookedFoodItem
public boolean isCookedFoodItem() -
isHeadPart
public boolean isHeadPart() -
isSharpenable
public boolean isSharpenable() -
dontPutBack
public boolean dontPutBack() -
inheritColor
public boolean inheritColor() -
inheritCondition
public boolean inheritCondition() -
inheritHeadCondition
public boolean inheritHeadCondition() -
inheritSharpness
public boolean inheritSharpness() -
inheritUses
public boolean inheritUses() -
isNotDull
public boolean isNotDull() -
mayDegrade
public boolean mayDegrade() -
mayDegradeLight
public boolean mayDegradeLight() -
mayDegradeVeryLight
public boolean mayDegradeVeryLight() -
mayDegradeHeavy
public boolean mayDegradeHeavy() -
sharpnessCheck
public boolean sharpnessCheck() -
getShapedIndex
Deprecated. -
getItemApplyMode
-
getFluidMatchMode
-
isFluidExact
public boolean isFluidExact() -
isFluidPrimary
public boolean isFluidPrimary() -
isFluidMixture
public boolean isFluidMixture() -
isFluidAnything
public boolean isFluidAnything() -
isVariableAmount
public boolean isVariableAmount() -
getIntAmount
public int getIntAmount() -
getAmount
public float getAmount() -
getIntMaxAmount
public int getIntMaxAmount() -
getMaxAmount
public float getMaxAmount() -
getIntAmount
public int getIntAmount(int arg0) -
getAmount
public float getAmount(int arg0) -
getIntMaxAmount
public int getIntMaxAmount(int int0) -
getMaxAmount
public float getMaxAmount(int int0) -
getIntAmount
-
getAmount
-
getIntMaxAmount
-
getMaxAmount
-
getRelativeScale
-
isProp1
public boolean isProp1() -
isProp2
public boolean isProp2() -
isApplyOnTick
public boolean isApplyOnTick() -
isAcceptsAnyItem
public boolean isAcceptsAnyItem() -
isAcceptsAnyFluid
public boolean isAcceptsAnyFluid() -
isAcceptsAnyEnergy
public boolean isAcceptsAnyEnergy() -
isHandcraftOnly
public boolean isHandcraftOnly() -
isAutomationOnly
public boolean isAutomationOnly() -
isReplace
Deprecated. -
getReplaceOutputScript
Deprecated. -
containsItem
-
containsFluid
-
containsEnergy
-
isFluidMatch
-
isEnergyMatch
-
isEnergyMatch
-
OnScriptsLoaded
- Throws:
Exception
-
canUseItem
-
canUseItem
-
allowFavorites
public boolean allowFavorites() -
passesFavoriteTest
-
passesRottenTest
-
passesFrozenTest
-
passesBrokenTest
-
passesSealedTest
-
doesItemPassRoutineStatusTests
-
doesItemPassClothingTypeStatusTests
-
doesItemPassSharpnessStatusTests
-
doesItemPassDamageStatusTests
-
doesItemPassIsOrNotEmptyAndFullTests
-
doesItemPassFoodAndCookingTests
-
isCanBeDoneFromFloor
public boolean isCanBeDoneFromFloor() -
isRecordInput
public boolean isRecordInput() -
getTags
-