oredict some stuff

This commit is contained in:
Ellpeck 2018-11-05 20:42:48 +01:00
parent 019956144d
commit 3b5fd10f01
2 changed files with 17 additions and 0 deletions

View file

@ -11,6 +11,7 @@ import de.ellpeck.naturesaura.compat.Compat;
import de.ellpeck.naturesaura.events.CommonEvents; import de.ellpeck.naturesaura.events.CommonEvents;
import de.ellpeck.naturesaura.events.TerrainGenEvents; import de.ellpeck.naturesaura.events.TerrainGenEvents;
import de.ellpeck.naturesaura.items.ModItems; import de.ellpeck.naturesaura.items.ModItems;
import de.ellpeck.naturesaura.items.OreDict;
import de.ellpeck.naturesaura.packet.PacketHandler; import de.ellpeck.naturesaura.packet.PacketHandler;
import de.ellpeck.naturesaura.proxy.IProxy; import de.ellpeck.naturesaura.proxy.IProxy;
import de.ellpeck.naturesaura.recipes.ModRecipes; import de.ellpeck.naturesaura.recipes.ModRecipes;
@ -75,6 +76,7 @@ public final class NaturesAura {
public void init(FMLInitializationEvent event) { public void init(FMLInitializationEvent event) {
ModRecipes.init(); ModRecipes.init();
ModRegistry.init(event); ModRegistry.init(event);
OreDict.init();
proxy.init(event); proxy.init(event);
} }

View file

@ -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("plankWood", ModBlocks.ANCIENT_PLANKS);
OreDictionary.registerOre("stickWood", ModItems.ANCIENT_STICK);
OreDictionary.registerOre("treeLeaves", ModBlocks.ANCIENT_LEAVES);
}
}