No longer crashes when loaded with TC6 beta. Note that this is just a crash-prevention fix, the actual integration still needs modernizing

This commit is contained in:
Vincent Lee committed 2018-04-24 01:25:43 -05:00
1 parent 123e35d444
commit ed72ff3d5f
4 files changed
+27 -45

No files matched your search

@@ -43,6 +43,7 @@ import vazkii.botania.common.crafting.recipe.SpecialFloatingFlowerRecipe;
import vazkii.botania.common.crafting.recipe.SpellClothRecipe;
import vazkii.botania.common.crafting.recipe.TerraPickTippingRecipe;
import vazkii.botania.common.item.ModItems;
import vazkii.botania.common.lib.LibItemNames;
import vazkii.botania.common.lib.LibMisc;
import vazkii.botania.common.lib.LibOreDict;
@@ -209,7 +210,7 @@ public final class ModCraftingRecipes {
public static ResourceLocation recipeRFGenerator;
public static ResourceLocation recipeGravityRod;
public static ResourceLocation recipeUltraSpreader;
public static ResourceLocation recipeHelmetOfRevealing;
public static List<ResourceLocation> recipeHelmetOfRevealing;
public static ResourceLocation recipeVial;
public static ResourceLocation recipeFlask;
public static ResourceLocation recipeBrewery;
@@ -331,7 +332,14 @@ public final class ModCraftingRecipes {
r.register(new CompositeLensRecipe().setRegistryName(new ResourceLocation(LibMisc.MOD_ID, "composite_lens")));
r.register(new CosmeticAttachRecipe().setRegistryName(new ResourceLocation(LibMisc.MOD_ID, "cosmetic_attach")));
r.register(new CosmeticRemoveRecipe().setRegistryName(new ResourceLocation(LibMisc.MOD_ID, "cosmetic_remove")));
r.register(new HelmRevealingRecipe().setRegistryName(new ResourceLocation(LibMisc.MOD_ID, "helm_revealing")));
if(Botania.thaumcraftLoaded) {
r.register(new HelmRevealingRecipe(ModItems.terrasteelHelmRevealing, ModItems.terrasteelHelm)
.setRegistryName(LibMisc.MOD_ID, LibItemNames.TERRASTEEL_HELM_R + "_from_goggles"));
r.register(new HelmRevealingRecipe(ModItems.manasteelHelmRevealing, ModItems.manasteelHelm)
.setRegistryName(LibMisc.MOD_ID, LibItemNames.MANASTEEL_HELM_R + "_from_goggles"));
r.register(new HelmRevealingRecipe(ModItems.elementiumHelmRevealing, ModItems.elementiumHelm)
.setRegistryName(LibMisc.MOD_ID, LibItemNames.ELEMENTIUM_HELM_R + "_from_goggles"));
}
r.register(new KeepIvyRecipe().setRegistryName(new ResourceLocation(LibMisc.MOD_ID, "keep_ivy_attach")));
r.register(new LensDyeingRecipe().setRegistryName(new ResourceLocation(LibMisc.MOD_ID, "lens_dye")));
r.register(new ManaGunLensRecipe().setRegistryName(new ResourceLocation(LibMisc.MOD_ID, "mana_gun_add_lens")));
@@ -482,6 +490,7 @@ public final class ModCraftingRecipes {
recipeRedstoneSpreader = path("spreader_1");
recipeDreamwoodSpreader = path("spreader_2");
recipeUltraSpreader = path("spreader_3");
recipeHelmetOfRevealing = allOfGroup("helm_revealing");
recipePrism = ModBlocks.prism.getRegistryName();
recipePoolCart = ModItems.poolMinecart.getRegistryName();
recipePump = ModBlocks.pump.getRegistryName();