This page relates to Create, which does not have built-in support, you will need to install CreateTweaker as well!
Create Sand Paper Polishing
Link to create-sand-paper-polishing
Die Sand Paper Polishing Mechanik ist vom Typ IRecipeManager und implementiert alle Methoden, die IRecipeManager zur Verfügung stehen wie removeRecipe()
und removeAll()
.
Methoden
Link to methoden
Rezept hinzufügen
Link to rezept-hinzufügen
Das folgende Skript fügt ein Rezept hinzu, das einen Diamanten ausgibt, wenn ein Glasstück mit einer Dauer von 100 Ticks poliert wird.
ZenScript Copy// <recipetype:create:sandpaper_polishing>.addRecipe(String name, IItemStack output, IIngredient input, @Optional(100) int duration)
<recipetype:create:sandpaper_polishing>.addRecipe("sand_paper_polishing_test", <item:minecraft:diamond>, <item:minecraft:glass>);
Remove Recipes
Link to remove-recipes
The following script will remove all Sand Paper Polishing recipes that output Polished Rose Quartz.
ZenScript Copy// <recipetype:create:pressing>.removeRecipe(IItemStack output)
<recipetype:create:sandpaper_polishing>.removeRecipe(<item:create:polished_rose_quartz>);