mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-20 04:09:49 +00:00
Add fallback recipe for trim; nerf trim recipe output; add configure option for trim recipe output; fix fallback half drawer recipes to use slabWood.
This commit is contained in:
1 parent
05032c90fd
commit
077b023cff
2 files changed
+7
-3
No files matched your search
@@ -168,6 +168,7 @@ public class ConfigManager
|
||||
config.get(sectionBlocksController.getQualifiedName(), "enabled", true).setLanguageKey(LANG_PREFIX + "prop.enabled").setRequiresMcRestart(true);
|
||||
|
||||
config.get(sectionBlocksTrim.getQualifiedName(), "enabled", true).setLanguageKey(LANG_PREFIX + "prop.enabled").setRequiresMcRestart(true);
|
||||
config.get(sectionBlocksTrim.getQualifiedName(), "recipeOutput", 4).setLanguageKey(LANG_PREFIX + "prop.recipeOutput").setRequiresMcRestart(true);
|
||||
|
||||
config.get(sectionBlocksSlave.getQualifiedName(), "enabled", true).setLanguageKey(LANG_PREFIX + "prop.enabled").setRequiresMcRestart(true);
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class ModRecipes
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers4, config.getBlockRecipeOutput("halfdrawers4"), i), "yxy", "xxx", "yxy",
|
||||
'x', new ItemStack(Blocks.wooden_slab, 1, i), 'y', Blocks.chest);
|
||||
if (config.isBlockEnabled("trim")) {
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.trim, 24, i), "xyx", "yyy", "xyx",
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.trim, config.getBlockRecipeOutput("trim"), i), "xyx", "yyy", "xyx",
|
||||
'x', Items.stick, 'y', new ItemStack(Blocks.planks, 1, i));
|
||||
}
|
||||
}
|
||||
@@ -51,10 +51,13 @@ public class ModRecipes
|
||||
'x', "plankWood", 'y', Blocks.chest));
|
||||
if (config.isBlockEnabled("fulldrawers4"))
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.fullDrawers4, config.getBlockRecipeOutput("fulldrawers4"), 0), "yxy", "xxx", "yxy",
|
||||
'x', "plankWood", 'y', Blocks.chest));
|
||||
'x', "slabWood", 'y', Blocks.chest));
|
||||
if (config.isBlockEnabled("halfdrawers4"))
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.halfDrawers4, config.getBlockRecipeOutput("halfdrawers4"), 0), "yxy", "xxx", "yxy",
|
||||
'x', "plankWood", 'y', Blocks.chest));
|
||||
'x', "slabWood", 'y', Blocks.chest));
|
||||
if (config.isBlockEnabled("trim"))
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.trim, config.getBlockRecipeOutput("trim"), 0), "xyx", "yyy", "xyx",
|
||||
'x', Items.stick, 'y', "plankWood"));
|
||||
|
||||
if (config.isBlockEnabled("compdrawers"))
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.compDrawers, config.getBlockRecipeOutput("compdrawers")), "xxx", "zwz", "xyx",
|
||||
|
||||
Reference in new issue
Block a user