Just a few more things left to control
This commit is contained in:
parent
9662faeee7
commit
4b97cc46ba
2 changed files with 27 additions and 19 deletions
|
|
@ -187,11 +187,11 @@ public class Config
|
|||
enableWoodchipper = property.getBoolean();
|
||||
propertyOrder.add(property.getName());
|
||||
|
||||
property = config.get(category, "Cobblestone Generator", true);
|
||||
property = config.get(category, "CobblestoneGenerator", true);
|
||||
enableCobblestoneGenerator = property.getBoolean();
|
||||
propertyOrder.add(property.getName());
|
||||
|
||||
property = config.get(category, "Stone Generator", true);
|
||||
property = config.get(category, "StoneGenerator", true);
|
||||
enableStoneGenerator = property.getBoolean();
|
||||
propertyOrder.add(property.getName());
|
||||
|
||||
|
|
@ -203,7 +203,7 @@ public class Config
|
|||
enablePouches = property.getBoolean();
|
||||
propertyOrder.add(property.getName());
|
||||
|
||||
property = config.get(category, "Mantle Smashers", true);
|
||||
property = config.get(category, "MantleSmashers", true);
|
||||
enableMantlesmashers = property.getBoolean();
|
||||
propertyOrder.add(property.getName());
|
||||
|
||||
|
|
@ -211,7 +211,7 @@ public class Config
|
|||
enableInfiniapple = property.getBoolean();
|
||||
propertyOrder.add(property.getName());
|
||||
|
||||
property = config.get(category, "Special Buckets", true);
|
||||
property = config.get(category, "SpecialBuckets", true);
|
||||
enableBuckets = property.getBoolean();
|
||||
propertyOrder.add(property.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -31,22 +31,30 @@ public class MachineRecipes
|
|||
{
|
||||
public static void init()
|
||||
{
|
||||
parseCropomatorRecipes();
|
||||
parseCropomatorFuels();
|
||||
parseElectroextractorFuels();
|
||||
parseElectroextractorRecipes();
|
||||
parseWoodchipperRecipes();
|
||||
parseScribeRecipes();
|
||||
if (Config.enableCropomator)
|
||||
{
|
||||
parseCropomatorRecipes();
|
||||
parseCropomatorFuels();
|
||||
}
|
||||
if (Config.enableWoodchipper)
|
||||
parseWoodchipperRecipes();
|
||||
if (Config.enableScribe)
|
||||
parseScribeRecipes();
|
||||
if (Config.enableElectroextractor)
|
||||
{
|
||||
parseElectroextractorFuels();
|
||||
parseElectroextractorRecipes();
|
||||
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.diamond_ore), new ItemStack(Items.diamond, Config.electroextractorOutput));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.emerald_ore), new ItemStack(Items.emerald, Config.electroextractorOutput));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.coal_ore), new ItemStack(Items.coal, Config.electroextractorOutput));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.gravel), new ItemStack(Items.flint));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.cobblestone, 1), new ItemStack(Blocks.sand, 2));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.sandstone, 1, Short.MAX_VALUE), new ItemStack(Blocks.sand, 4));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.red_sandstone, 1, Short.MAX_VALUE), new ItemStack(Blocks.sand, 4, 1));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.diamond_ore), new ItemStack(Items.diamond, Config.electroextractorOutput));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.emerald_ore), new ItemStack(Items.emerald, Config.electroextractorOutput));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.coal_ore), new ItemStack(Items.coal, Config.electroextractorOutput));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.gravel), new ItemStack(Items.flint));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.cobblestone, 1), new ItemStack(Blocks.sand, 2));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.sandstone, 1, Short.MAX_VALUE), new ItemStack(Blocks.sand, 4));
|
||||
ElectroextractorRecipes.getInstance().addRecipe(new ItemStack(Blocks.red_sandstone, 1, Short.MAX_VALUE), new ItemStack(Blocks.sand, 4, 1));
|
||||
|
||||
registerOreDict();
|
||||
registerOreDict();
|
||||
}
|
||||
}
|
||||
|
||||
static void registerOreDict()
|
||||
|
|
@ -236,7 +244,7 @@ public class MachineRecipes
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static void parseElectroextractorRecipes()
|
||||
{
|
||||
ArrayList<String> dustNames = ItemDust.getDusts();
|
||||
|
|
|
|||
Loading…
Reference in a new issue