Expansion for IIngredient
Casters
Result type | Is Implicit |
---|---|
Result type IIngredientWithAmount | Is Implicit true |
Methods
Used implicitly when a machine can accept more than one item but you only provide one.
Return Type: IIngredientWithAmount
Use this in contexts where machines accept more than one item to state that fact.
Return Type: IIngredientWithAmount
Parameter | Type | Description |
---|---|---|
Parameter amount | Type int | Description No Description Provided |
Return Type: MCIngredientTransformed<IIngredient>
Use this if you already have the transformer from another ingredient
Return Type: MCIngredientTransformed<IIngredient>
Parameter | Type | Description |
---|---|---|
Parameter transformer | Type IIngredientTransformer<IIngredient> | Description No Description Provided |
Return Type: MCIngredientTransformed<IIngredient>
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter uid | Type string | Description No Description Provided | Optional false | DefaultValue |
Parameter function | Type Function<IItemStack,IItemStack> | Description No Description Provided | Optional true | DefaultValue |
Return Type: MCIngredientTransformed<IIngredient>
Parameter | Type | Description | Optional | DefaultValue |
---|---|---|---|---|
Parameter amount | Type int | Description No Description Provided | Optional true | DefaultValue 1 |
Return Type: MCIngredientTransformed<IIngredient>
Parameter | Type | Description |
---|---|---|
Parameter replaceWith | Type IItemStack | Description No Description Provided |