Recipes.FurnaceRecipe
Hierarchy
- Object
- FurnaceRecipe
Index
Properties
readonlyinData
readonlyinId
readonlyresData
readonlyresId
Methods
getInputKey
Returns number
getPrefix
Returns string
Recipe prefix.
getResult
Returns ItemInstance
Resulting item instance.
isMatchingPrefix
Compares current recipe's prefix with given one.
Parameters
prefix: string
prefix value to compare with
Returns boolean
true, if current recipe's prefix is the same as given one,falseotherwise.
isValid
Returns boolean
true, if the recipe is valid,falseotherwise.
setPrefix
Sets prefix value for the recipe.
Parameters
prefix: string
new prefix value
Returns void
Object representing furnace recipe.