IIngredientAny
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
An IIngredient which matches all itemsImplements
IIngredientAny
implements the following interfaces:
IIngredient
,CommandStringDisplayable
Operators
Parameters:
Return Type:
bool
Parameters:
amount: int
Type: int
Return Type:
IIngredientWithAmount
Parameters:
other: IIngredient
Type: IIngredient
Return Type:
IIngredientList
Members
Please use Item Components instead.
Parameters:
id: ResourceLocation
Type: ResourceLocation
value: double
Type: double
operation: AttributeOperation
Type: AttributeOperation
slotTypes: EquipmentSlot[]
Type: EquipmentSlot[]
Return Type:
IIngredient
Return Type:
IData
Return Type:
IIngredientWithAmount
Return Type:
IIngredientWithAmount
Return Type:
MapData
Parameters:
time: int
Type: int
- the new burn time Parameters:
time: int
Type: int
- the new burn time Parameters:
leaveName: bool
(optional) Type: bool
Default Value: false
Parameters:
Return Type:
bool
Return Type:
bool
Returns: true if empty, false otherwise
Return Type:
bool
Return Type:
IIngredientAny
Parameters:
Return Type:
IItemStack
Parameters:
shiftedFunction: ITooltipFunction
Type: ITooltipFunction
Parameters:
function: ITooltipFunction
Type: ITooltipFunction
Parameters:
amount: int
Type: int
Return Type:
IIngredientWithAmount
Return Type:
IIngredient
Parameters:
minDamage: int
Type: int
Return Type:
IIngredient
Parameters:
maxDamage: int
Type: int
Return Type:
IIngredient
Parameters:
uid: string
Type: string
function: function(t as IItemStack) as bool
(optional) Type: function(t as IItemStack) as bool
Default Value: null
Return Type:
IIngredient
Please use Item Components instead.
Parameters:
slotTypes: EquipmentSlot[]
Type: EquipmentSlot[]
Please use Item Components instead.
Parameters:
uuid: string
Type: string
slotTypes: EquipmentSlot[]
Type: EquipmentSlot[]
Please use Item Components instead.
Parameters:
uuid: UUID
Type: UUID
slotTypes: EquipmentSlot[]
Type: EquipmentSlot[]
Parameters:
regex: string
Type: string
Return Type:
IIngredient
Parameters:
uid: string
Type: string
function: function(r as IItemStack) as IItemStack
(optional) Type: function(r as IItemStack) as IItemStack
Default Value: null
Return Type:
IIngredient
Parameters:
amount: int
(optional) Type: int
Default Value: 1
Return Type:
IIngredient
Parameters:
replaceWith: IItemStack
Type: IItemStack
Return Type:
IIngredient