CraftTweaker

CraftTweaker

151M Downloads

[Question] Dynamic Item Names

Magi1053 opened this issue ยท 2 comments

commented

So this is what I have so far

val metals = ["brass","bronze","coldiron","copper","cupronickel","electrum","gold","invar","iron","lead","mithril","nickel","platinum","silver","starsteel","steel","tin","zinc"] as string[];
for metal in metals {
	var item as IItemStack;
	val item = <"basemetals:"~metal~"_plate">;
}

I want to be able to remove all items for all my metal plates, and then redo the recipe for them using the same pattern, with their respective metal ingots.

commented

the issue tracker is for issues.

Questions go here:
https://discord.gg/CPpKYfV

commented

Thanks for answering my question