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/output/ItemOutput
default
Class default
Hierarchy
default
<
default
>
default
Index
Constructors
constructor
Properties
item
Type
quality?
quantity
type
Methods
add
Requirement
get
predicate
Matches
set
Quality
set
Requirement
Predicate
Constructors
constructor
new default
(
itemType
:
ItemType
, quantity
?:
number
)
:
default
Parameters
itemType:
ItemType
quantity:
number
= 1
Returns
default
Properties
Readonly
item
Type
item
Type
:
ItemType
Optional
quality
quality
?:
Quality
Readonly
quantity
quantity
:
number
= 1
Readonly
type
type
:
Item
Methods
add
Requirement
add
Requirement
(
...
args
:
[
item
:
ItemType
|
ItemTypeGroup
,
quantity
:
number
,
initializer
?:
(
(
requirement
:
default
)
=>
any
)
]
)
:
default
Parameters
Rest
...
args:
[
item
:
ItemType
|
ItemTypeGroup
,
quantity
:
number
,
initializer
?:
(
(
requirement
:
default
)
=>
any
)
]
Returns
default
get
get
(
api
:
default
)
:
default
Parameters
api:
default
Returns
default
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
set
Quality
set
Quality
(
quality
:
Quality
)
:
default
Parameters
quality:
Quality
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
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
item
Type
quality?
quantity
type
add
Requirement
get
predicate
Matches
set
Quality
set
Requirement
Predicate
Generated using
TypeDoc