Class InputScript
java.lang.Object
zombie.scripting.entity.components.crafting.CraftRecipe.IOScript
zombie.scripting.entity.components.crafting.InputScript
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleancanUseItem(String item) booleancanUseItem(InventoryItem item) booleancontainsEnergy(Energy energy) booleancontainsFluid(Fluid fluid) booleancontainsItem(Item item) booleanbooleanbooleanbooleanbooleandoesItemPassRoutineStatusTests(InventoryItem item, IsoGameCharacter character) booleanbooleanbooleanfloatfloatgetAmount(int idx) floatintintgetIntAmount(int idx) intgetIntAmount(String item) intintgetIntMaxAmount(int idx) intgetIntMaxAmount(String item) floatfloatgetMaxAmount(int idx) floatgetMaxAmount(String item) floatgetRelativeScale(String item) Deprecated.intDeprecated.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()booleanbooleanisEnergyMatch(Energy energy) booleanbooleanbooleanbooleanbooleanisFluidMatch(FluidContainer container) booleanbooleanbooleanisFull()booleanbooleanbooleanbooleanisKeep()booleanbooleanbooleanisProp1()booleanisProp2()booleanbooleanDeprecated.booleanbooleanisTool()booleanbooleanbooleanbooleanbooleanisUsesPartialItem(Item item) booleanbooleanbooleanisWorn()booleanbooleanbooleanbooleanbooleannotEmpty()booleannotFull()voidOnScriptsLoaded(ScriptLoadMode loadMode) booleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class CraftRecipe.IOScript
getParentRecipe, getRecipeLineIndex
-
Method Details
-
getPossibleInputItems
-
hasPossibleFrozenFoodInputItems
public boolean hasPossibleFrozenFoodInputItems() -
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() -
dontAllowFrozenItem
public boolean dontAllowFrozenItem() -
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 idx) -
getAmount
public float getAmount(int idx) -
getIntMaxAmount
public int getIntMaxAmount(int idx) -
getMaxAmount
public float getMaxAmount(int idx) -
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() -
getItemTags
-