diff --git a/src/main/java/de/ellpeck/naturesaura/NaturesAura.java b/src/main/java/de/ellpeck/naturesaura/NaturesAura.java index 71187961..fad82208 100644 --- a/src/main/java/de/ellpeck/naturesaura/NaturesAura.java +++ b/src/main/java/de/ellpeck/naturesaura/NaturesAura.java @@ -12,6 +12,7 @@ import de.ellpeck.naturesaura.compat.Compat; import de.ellpeck.naturesaura.entities.ModEntities; import de.ellpeck.naturesaura.events.CommonEvents; import de.ellpeck.naturesaura.items.ModItems; +import de.ellpeck.naturesaura.items.OreDict; import de.ellpeck.naturesaura.packet.PacketHandler; import de.ellpeck.naturesaura.potion.ModPotions; import de.ellpeck.naturesaura.proxy.IProxy; @@ -83,6 +84,7 @@ public final class NaturesAura { ModRecipes.init(); ModRegistry.init(event); DrainSpotEffects.init(); + OreDict.init(); proxy.init(event); } diff --git a/src/main/java/de/ellpeck/naturesaura/items/OreDict.java b/src/main/java/de/ellpeck/naturesaura/items/OreDict.java new file mode 100644 index 00000000..48a7b222 --- /dev/null +++ b/src/main/java/de/ellpeck/naturesaura/items/OreDict.java @@ -0,0 +1,15 @@ +package de.ellpeck.naturesaura.items; + +import de.ellpeck.naturesaura.blocks.ModBlocks; +import net.minecraftforge.oredict.OreDictionary; + +public final class OreDict { + + public static void init() { + OreDictionary.registerOre("logWood", ModBlocks.ANCIENT_LOG); + OreDictionary.registerOre("logWood", ModBlocks.ANCIENT_BARK); + OreDictionary.registerOre("plankWood", ModBlocks.ANCIENT_PLANKS); + OreDictionary.registerOre("treeLeaves", ModBlocks.ANCIENT_LEAVES); + OreDictionary.registerOre("stickWood", ModItems.ANCIENT_STICK); + } +} diff --git a/src/main/resources/assets/naturesaura/recipes/ancient_stick.json b/src/main/resources/assets/naturesaura/recipes/ancient_stick.json index 1ac4da65..cfc8dd06 100644 --- a/src/main/resources/assets/naturesaura/recipes/ancient_stick.json +++ b/src/main/resources/assets/naturesaura/recipes/ancient_stick.json @@ -6,7 +6,7 @@ ], "key": { "W": { - "item": "naturesaura:ancient_planks" + "item": "naturesaura:ancient_slab" } }, "result": {