mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-10-26 14:24:22 +00:00
1.8 recipes now permanently on, fix initial loop recipe being oredicted. Closes #413
This commit is contained in:
3 files changed
+8
-16
No files matched your search
@@ -80,7 +80,6 @@ public final class ConfigHandler {
|
||||
public static boolean enchanterEnabled = true;
|
||||
public static boolean fluxfieldEnabled = true;
|
||||
public static boolean relicsEnabled = true;
|
||||
public static boolean stones18Enabled = true;
|
||||
public static boolean ringOfOdinFireResist = true;
|
||||
public static boolean invertMagnetRing = false;
|
||||
public static boolean enableThaumcraftStablizers = true;
|
||||
@@ -219,9 +218,6 @@ public final class ConfigHandler {
|
||||
desc = "Set this to false to disable the Relic System. This only disables the entries, drops and achievements. Old ones that are already in the world will stay.";
|
||||
relicsEnabled = loadPropBool("relics.enabled", desc, relicsEnabled);
|
||||
|
||||
desc = "Set this to false to disable the 1.8 Stones available as mana alchemy recipes. This only disables the recipes and entries. Old ones that are already in the world will stay.";
|
||||
stones18Enabled = loadPropBool("18stones.enabled", desc, stones18Enabled);
|
||||
|
||||
desc = "Set this to false to make the Ring of Odin not apply fire resistance. Mostly for people who use Witchery transformations.";
|
||||
ringOfOdinFireResist = loadPropBool("ringOfOdin.fireResist", desc, ringOfOdinFireResist);
|
||||
|
||||
|
||||
@@ -131,13 +131,11 @@ public final class ModManaAlchemyRecipes {
|
||||
|
||||
prismarineRecipe = BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Items.PRISMARINE_SHARD), new ItemStack(Items.QUARTZ), 200);
|
||||
|
||||
if(ConfigHandler.stones18Enabled) {
|
||||
stoneRecipes = new ArrayList<>();
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 5), "stone", 200)); // Stone->Andesite
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 3), new ItemStack(Blocks.STONE, 1, 5), 200)); // Andesite->Diorite
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 1), new ItemStack(Blocks.STONE, 1, 3), 200)); // Diorite->Granite
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 5), new ItemStack(Blocks.STONE, 1, 1), 200)); // Granite->Andesite
|
||||
}
|
||||
stoneRecipes = new ArrayList<>();
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 5), new ItemStack(Blocks.STONE), 200)); // Stone->Andesite
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 3), new ItemStack(Blocks.STONE, 1, 5), 200)); // Andesite->Diorite
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 1), new ItemStack(Blocks.STONE, 1, 3), 200)); // Diorite->Granite
|
||||
stoneRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.STONE, 1, 5), new ItemStack(Blocks.STONE, 1, 1), 200)); // Granite->Andesite
|
||||
|
||||
tallgrassRecipes = new ArrayList<>();
|
||||
tallgrassRecipes.add(BotaniaAPI.registerManaAlchemyRecipe(new ItemStack(Blocks.DEADBUSH), new ItemStack(Blocks.TALLGRASS, 1, 2), 500));
|
||||
|
||||
@@ -1408,11 +1408,9 @@ public final class LexiconData {
|
||||
phantomInk = new BasicLexiconEntry(LibLexicon.MISC_PHANTOM_INK, categoryMisc);
|
||||
phantomInk.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipePhantomInk));
|
||||
|
||||
if (ConfigHandler.stones18Enabled) {
|
||||
stoneAlchemy = new BasicLexiconEntry(LibLexicon.MISC_STONE_ALCHEMY, categoryMisc);
|
||||
stoneAlchemy.setLexiconPages(new PageText("0"),
|
||||
new PageManaInfusionRecipe("1", ModManaAlchemyRecipes.stoneRecipes));
|
||||
}
|
||||
stoneAlchemy = new BasicLexiconEntry(LibLexicon.MISC_STONE_ALCHEMY, categoryMisc);
|
||||
stoneAlchemy.setLexiconPages(new PageText("0"),
|
||||
new PageManaInfusionRecipe("1", ModManaAlchemyRecipes.stoneRecipes));
|
||||
|
||||
blazeBlock = new BasicLexiconEntry(LibLexicon.MISC_BLAZE_BLOCK, categoryMisc);
|
||||
blazeBlock.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeBlazeBlock));
|
||||
|
||||
Reference in new issue
Block a user