15 lines
844 B
Text
15 lines
844 B
Text
import crafttweaker.api.recipe.replacement.Replacer;
|
|
import crafttweaker.api.predicate.TagPredicate;
|
|
import crafttweaker.api.tag.type.KnownTag;
|
|
import crafttweaker.api.item.ItemDefinition;
|
|
import crafttweaker.api.ingredient.IIngredient;
|
|
|
|
var ropeTag as KnownTag<ItemDefinition>;
|
|
ropeTag = <tag:items:vpp:rope>;
|
|
|
|
Replacer.create()
|
|
.replace<IIngredient>(<recipecomponent:crafttweaker:input/ingredients>, <item:dustydecorations:rope>, ropeTag.asIIngredient())
|
|
.replace<IIngredient>(<recipecomponent:crafttweaker:input/ingredients>, <item:beautify:rope>, ropeTag.asIIngredient())
|
|
.replace<IIngredient>(<recipecomponent:crafttweaker:input/ingredients>, <item:farmersdelight:rope>, ropeTag.asIIngredient())
|
|
.replace<IIngredient>(<recipecomponent:crafttweaker:input/ingredients>, <item:supplementaries:rope>, ropeTag.asIIngredient())
|
|
.execute();
|