diff --git a/src/main/java/com/blamejared/compat/bloodmagic/AlchemyArray.java b/src/main/java/com/blamejared/compat/bloodmagic/AlchemyArray.java index 2a0a9b4..5a84f67 100644 --- a/src/main/java/com/blamejared/compat/bloodmagic/AlchemyArray.java +++ b/src/main/java/com/blamejared/compat/bloodmagic/AlchemyArray.java @@ -16,7 +16,7 @@ import stanhebben.zenscript.annotations.*; public class AlchemyArray { @ZenMethod - public static void addRecipe(IItemStack output, IItemStack input, IItemStack catalyst, String textureLocation) { + public static void addRecipe(IItemStack output, IItemStack input, IItemStack catalyst, @Optional String textureLocation) { ModTweaker.LATE_ADDITIONS.add(new Add(InputHelper.toStack(input), InputHelper.toStack(catalyst), InputHelper.toStack(output), new ResourceLocation(textureLocation))); } diff --git a/src/main/java/com/blamejared/compat/bloodmagic/BloodAlter.java b/src/main/java/com/blamejared/compat/bloodmagic/BloodAltar.java similarity index 89% rename from src/main/java/com/blamejared/compat/bloodmagic/BloodAlter.java rename to src/main/java/com/blamejared/compat/bloodmagic/BloodAltar.java index 3ab19e7..c92edef 100644 --- a/src/main/java/com/blamejared/compat/bloodmagic/BloodAlter.java +++ b/src/main/java/com/blamejared/compat/bloodmagic/BloodAltar.java @@ -10,10 +10,10 @@ import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.Ingredient; import stanhebben.zenscript.annotations.*; -@ZenClass("mods.bloodmagic.BloodAlter") +@ZenClass("mods.bloodmagic.BloodAltar") @ZenRegister @ModOnly("bloodmagic") -public class BloodAlter { +public class BloodAltar { @ZenMethod public static void addRecipe(IItemStack output, IItemStack input, int minimumTier, int syphon, int consumeRate, int drainRate) { @@ -33,7 +33,7 @@ public class BloodAlter { private int minTier, syphon, consumeRate, drainRate; public Add(Ingredient input, ItemStack output, int minTier, int syphon, int consumeRate, int drainRate) { - super("BloodAlter"); + super("BloodAltar"); this.input = input; this.output = output; this.minTier = minTier; @@ -49,7 +49,7 @@ public class BloodAlter { @Override public String describe() { - return "Adding Blood Alter recipe for: " + output + " from: " + input + " minTier: " + minTier + ", syphon: " + syphon + ", consumeRate: " + consumeRate + ", drainRate: " + drainRate; + return "Adding Blood Altar recipe for: " + output + " from: " + input + " minTier: " + minTier + ", syphon: " + syphon + ", consumeRate: " + consumeRate + ", drainRate: " + drainRate; } } @@ -58,7 +58,7 @@ public class BloodAlter { private ItemStack input; public Remove(ItemStack input) { - super("BloodAlter"); + super("BloodAltar"); this.input = input; } @@ -69,7 +69,7 @@ public class BloodAlter { @Override public String describe() { - return "Removing Blood Alter recipe for: " + input; + return "Removing Blood Altar recipe for: " + input; } } }