mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-26 13:18:34 +01:00
oredicted some stuff
This commit is contained in:
parent
b983246ef9
commit
95e7f398e3
3 changed files with 18 additions and 1 deletions
|
@ -12,6 +12,7 @@ import de.ellpeck.naturesaura.compat.Compat;
|
||||||
import de.ellpeck.naturesaura.entities.ModEntities;
|
import de.ellpeck.naturesaura.entities.ModEntities;
|
||||||
import de.ellpeck.naturesaura.events.CommonEvents;
|
import de.ellpeck.naturesaura.events.CommonEvents;
|
||||||
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.potion.ModPotions;
|
import de.ellpeck.naturesaura.potion.ModPotions;
|
||||||
import de.ellpeck.naturesaura.proxy.IProxy;
|
import de.ellpeck.naturesaura.proxy.IProxy;
|
||||||
|
@ -83,6 +84,7 @@ public final class NaturesAura {
|
||||||
ModRecipes.init();
|
ModRecipes.init();
|
||||||
ModRegistry.init(event);
|
ModRegistry.init(event);
|
||||||
DrainSpotEffects.init();
|
DrainSpotEffects.init();
|
||||||
|
OreDict.init();
|
||||||
|
|
||||||
proxy.init(event);
|
proxy.init(event);
|
||||||
}
|
}
|
||||||
|
|
15
src/main/java/de/ellpeck/naturesaura/items/OreDict.java
Normal file
15
src/main/java/de/ellpeck/naturesaura/items/OreDict.java
Normal 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("logWood", ModBlocks.ANCIENT_BARK);
|
||||||
|
OreDictionary.registerOre("plankWood", ModBlocks.ANCIENT_PLANKS);
|
||||||
|
OreDictionary.registerOre("treeLeaves", ModBlocks.ANCIENT_LEAVES);
|
||||||
|
OreDictionary.registerOre("stickWood", ModItems.ANCIENT_STICK);
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,7 +6,7 @@
|
||||||
],
|
],
|
||||||
"key": {
|
"key": {
|
||||||
"W": {
|
"W": {
|
||||||
"item": "naturesaura:ancient_planks"
|
"item": "naturesaura:ancient_slab"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
|
|
Loading…
Reference in a new issue