Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
game/item/recipe/Recipe
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
index
Methods
add
Output
add
Requirement
can
Craft
get
Crafter
get
Level
get
Outputs
get
Requirements
get
Rune
Chance
get
Skill
predicate
Matches
requirements
Status
set
Level
set
Requirement
Predicate
set
Rune
Chance
set
Skill
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Readonly
index
index
:
undefined
|
number
When
undefined
, this recipe is not registered.
Methods
add
Output
add
Output
<
R
>
(
outputType
:
R
,
...
args
:
ConstructorParameters
<
RecipeOutputClass
<
R
>
>
)
:
default
Type Parameters
R
extends
Item
Parameters
outputType:
R
Rest
...
args:
ConstructorParameters
<
RecipeOutputClass
<
R
>
>
Returns
default
add
Requirement
add
Requirement
<
R
>
(
requirementType
:
R
,
...
args
:
ConstructorParameters
<
RecipeRequirementClass
<
R
>
>
)
:
default
Type Parameters
R
extends
RecipeRequirementType
Parameters
requirementType:
R
Rest
...
args:
ConstructorParameters
<
RecipeRequirementClass
<
R
>
>
Returns
default
can
Craft
can
Craft
(
crafter
:
default
)
:
boolean
Parameters
crafter:
default
Returns
boolean
can
Craft
(
entity
:
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
, items
:
default
[]
)
:
boolean
Parameters
entity:
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
items:
default
[]
Returns
boolean
get
Crafter
get
Crafter
(
entity
:
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
, items
:
default
[]
)
:
default
Parameters
entity:
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
items:
default
[]
Returns
default
get
Level
get
Level
(
)
:
RecipeLevel
Returns
RecipeLevel
get
Outputs
get
Outputs
(
)
:
Stream
<
default
<
any
>
>
Returns
Stream
<
default
<
any
>
>
get
Requirements
get
Requirements
(
)
:
Stream
<
default
<
any
>
>
Returns
Stream
<
default
<
any
>
>
get
Rune
Chance
get
Rune
Chance
(
)
:
RuneChance
Returns
RuneChance
get
Skill
get
Skill
(
)
:
SkillType
Returns
SkillType
predicate
Matches
predicate
Matches
<
R
>
(
requirementType
:
R
, input
:
RecipeInputType
<
R
>
, requirement
:
InstanceType
<
RecipeRequirementClass
<
R
>
>
)
:
boolean
Type Parameters
R
extends
RecipeRequirementType
Parameters
requirementType:
R
input:
RecipeInputType
<
R
>
requirement:
InstanceType
<
RecipeRequirementClass
<
R
>
>
Returns
boolean
requirements
Status
requirements
Status
(
entity
:
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
, items
:
default
[]
)
:
Stream
<
[
default
<
any
>
,
boolean
]
>
Parameters
entity:
default
<
unknown
,
number
,
EntityReferenceTypes
,
unknown
>
items:
default
[]
Returns
Stream
<
[
default
<
any
>
,
boolean
]
>
set
Level
set
Level
(
level
:
RecipeLevel
)
:
default
Parameters
level:
RecipeLevel
Returns
default
set
Requirement
Predicate
set
Requirement
Predicate
<
R
>
(
requirementType
:
R
, predicate
:
(
(
input
:
RecipeInputType
<
R
>
, requirement
:
InstanceType
<
RecipeRequirementClass
<
R
>
>
)
=>
boolean
)
)
:
default
Type Parameters
R
extends
RecipeRequirementType
Parameters
requirementType:
R
predicate:
(
(
input
:
RecipeInputType
<
R
>
, requirement
:
InstanceType
<
RecipeRequirementClass
<
R
>
>
)
=>
boolean
)
(
input
:
RecipeInputType
<
R
>
, requirement
:
InstanceType
<
RecipeRequirementClass
<
R
>
>
)
:
boolean
Parameters
input:
RecipeInputType
<
R
>
requirement:
InstanceType
<
RecipeRequirementClass
<
R
>
>
Returns
boolean
Returns
default
set
Rune
Chance
set
Rune
Chance
(
alignment
:
ArrayOr
<
DeityReal
>
, chance
:
number
)
:
default
Parameters
alignment:
ArrayOr
<
DeityReal
>
chance:
number
Returns
default
set
Skill
set
Skill
(
skill
:
SkillType
)
:
default
Parameters
skill:
SkillType
Returns
default
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
default
constructor
index
add
Output
add
Requirement
can
Craft
get
Crafter
get
Level
get
Outputs
get
Requirements
get
Rune
Chance
get
Skill
predicate
Matches
requirements
Status
set
Level
set
Requirement
Predicate
set
Rune
Chance
set
Skill
Generated using
TypeDoc
When
undefined
, this recipe is not registered.