mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Cleanup. Moved log smelting recipe to registerRecipes
This commit is contained in:
1 parent
b5e8d37281
commit
308a1ea027
1 file changed
+3
-1
@@ -186,7 +186,6 @@ public class PluginArboriculture extends ForestryPlugin {
|
||||
for (ForestryBlock log : logs) {
|
||||
log.block().setHarvestLevel("axe", 0);
|
||||
OreDictionary.registerOre("logWood", log.getWildcard());
|
||||
Proxies.common.addSmelting(log.getItemStack(), new ItemStack(Items.coal, 1, 1), 0.15F);
|
||||
}
|
||||
|
||||
ForestryBlock.planks1.registerBlock(new BlockPlanks(PlankCat.CAT0), ItemWoodBlock.class, "planks");
|
||||
@@ -338,6 +337,9 @@ public class PluginArboriculture extends ForestryPlugin {
|
||||
@Override
|
||||
protected void registerRecipes() {
|
||||
|
||||
for (ForestryBlock log : logs)
|
||||
Proxies.common.addSmelting(log.getItemStack(), new ItemStack(Items.coal, 1, 1), 0.15F);
|
||||
|
||||
// / Plank recipes
|
||||
for (int i = 0; i < 4; i++)
|
||||
Proxies.common.addShapelessRecipe(ForestryBlock.planks1.getItemStack(4, i), ForestryBlock.log1.getItemStack(1, i));
|
||||
|
||||
Reference in new issue
Block a user