Expansion for IIngredient

This expansion was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

Methods

reuse

Return Type: MCIngredientTransformed<IIngredient>

IIngredient.reuse() as MCIngredientTransformed<IIngredient>
<tag:items:forge:ingots>.reuse();

transform

Use this if you already have the transformer from another ingredient

Return Type: MCIngredientTransformed<IIngredient>

IIngredient.transform(transformer as IIngredientTransformer<IIngredient>) as MCIngredientTransformed<IIngredient>
ParameterTypeDescription
transformerIIngredientTransformer<IIngredient>No Description Provided

transformCustom

Return Type: MCIngredientTransformed<IIngredient>

IIngredient.transformCustom(uid as string, function as Function<IItemStack,IItemStack>) as MCIngredientTransformed<IIngredient>
ParameterTypeDescriptionOptionalDefaultValue
uidstringNo Description Providedfalse
functionFunction<IItemStack,IItemStack>No Description Providedtrue
### transformDamage

Return Type: MCIngredientTransformed<IIngredient>

IIngredient.transformDamage(amount as int) as MCIngredientTransformed<IIngredient>
ParameterTypeDescriptionOptionalDefaultValue
amountintNo Description Providedtrue1
### transformReplace

Return Type: MCIngredientTransformed<IIngredient>

IIngredient.transformReplace(replaceWith as IItemStack) as MCIngredientTransformed<IIngredient>
ParameterTypeDescription
replaceWithIItemStackNo Description Provided