mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Merge pull request #686 from ganymedes01/patch-1
Add fence recipes to match vanilla's style
This commit is contained in:
commit
0655ea235a
2 files changed
+6
-1
No files matched your search
@@ -538,9 +538,13 @@ public class PluginArboriculture extends ForestryPlugin {
|
||||
for (WoodType woodType : WoodType.values()) {
|
||||
int i = woodType.ordinal();
|
||||
if (i < 16) {
|
||||
// TODO remove first recipe on 1.8
|
||||
Proxies.common.addRecipe(ForestryBlock.fences1.getItemStack(4, i % 16), "###", "# #", '#', ForestryBlock.planks1.getItemStack(1, i % 16));
|
||||
Proxies.common.addRecipe(ForestryBlock.fences1.getItemStack(3, i % 16), "#X#", "#X#", '#', ForestryBlock.planks1.getItemStack(1, i % 16), 'X', "stickWood");
|
||||
} else if (i < 32) {
|
||||
// TODO remove first recipe on 1.8
|
||||
Proxies.common.addRecipe(ForestryBlock.fences2.getItemStack(4, i % 16), "###", "# #", '#', ForestryBlock.planks2.getItemStack(1, i % 16));
|
||||
Proxies.common.addRecipe(ForestryBlock.fences2.getItemStack(3, i % 16), "#X#", "#X#", '#', ForestryBlock.planks2.getItemStack(1, i % 16), 'X', "stickWood");
|
||||
} else {
|
||||
throw new RuntimeException("Wood type has no fences defined");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user