mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-12 16:27:27 +00:00
Close #70
This commit is contained in:
1 parent
dd69536606
commit
991b37a588
2 files changed
+3
-5
No files matched your search
@@ -19,10 +19,9 @@ public class Inscriber {
|
||||
@ZenMethod
|
||||
public static void addRecipe(IItemStack[] imprintable, IItemStack plateA, IItemStack plateB, IItemStack out, boolean usePlates) {
|
||||
MineTweakerAPI.apply(new Add(new InscriberRecipe(toStacks(imprintable), toStack(plateA), toStack(plateB), toStack(out), usePlates)));
|
||||
Inscribe.inputs.add(toStack(imprintable[0]));
|
||||
Inscribe.inputs.add(toStack(imprintable[1]));
|
||||
Inscribe.inputs.add(toStack(plateA));
|
||||
Inscribe.inputs.add(toStack(plateB));
|
||||
for (IItemStack stack : imprintable) {
|
||||
Inscribe.inputs.add(toStack(stack));
|
||||
}
|
||||
Inscribe.plates.add(toStack(plateA));
|
||||
Inscribe.plates.add(toStack(plateB));
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ public class Sawmill {
|
||||
public static void addRecipe(IItemStack input, IItemStack output1, @Optional IItemStack output2, @Optional double chance) {
|
||||
ChanceOutput chanceOutput = new ChanceOutput(toStack(output1), toStack(output2), chance);
|
||||
MineTweakerAPI.apply(new AddMekanismRecipe("PRECISION_SAWMILL", Recipe.PRECISION_SAWMILL.get(), toStack(input), chanceOutput));
|
||||
Minecraft.getMinecraft().getLanguageManager().getCurrentLanguage().getLanguageCode();
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
|
||||
Reference in new issue
Block a user