Skip to content

Commit 147de22

Browse files
committed
Fix ore dictionaries
1 parent b3bcbf0 commit 147de22

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/java/drzhark/mocreatures/MoCreatures.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import drzhark.mocreatures.event.MoCEventHooksTerrain;
1919
import drzhark.mocreatures.init.MoCCreativeTabs;
2020
import drzhark.mocreatures.init.MoCEntities;
21+
import drzhark.mocreatures.init.MoCRecipes;
2122
import drzhark.mocreatures.network.MoCMessageHandler;
2223
import drzhark.mocreatures.network.command.CommandMoCPets;
2324
import drzhark.mocreatures.network.command.CommandMoCSpawn;
@@ -101,6 +102,7 @@ public void load(FMLInitializationEvent event) {
101102
MoCEventHooksTerrain.addBiomeTypes();
102103
MoCEntities.registerSpawns();
103104
MoCEventHooksTerrain.buildWorldGenSpawnLists();
105+
MoCRecipes.registerOreDictionaries();
104106
CompatHandler.init();
105107
ModFixs modFixer = FMLCommonHandler.instance().getDataFixer().init(MoCConstants.MOD_ID, MoCConstants.DATAFIXER_VERSION);
106108
modFixer.registerFix(FixTypes.BLOCK_ENTITY, new BlockIDFixer());

src/main/java/drzhark/mocreatures/init/MoCRecipes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ public static void registerRecipes(final RegistryEvent.Register<IRecipe> event)
8989
GameRegistry.addSmelting(MoCItems.venisonRaw, new ItemStack(MoCItems.venisonCooked), 0.35F);
9090

9191
GameRegistry.addSmelting(Items.EGG, new ItemStack(MoCItems.omelet), 0.35F);
92+
}
9293

94+
public static void registerOreDictionaries() {
9395
OreDictionary.registerOre("blockGlass", new ItemStack(MoCBlocks.gleamingGlass));
9496
OreDictionary.registerOre("blockGlassColorless", new ItemStack(MoCBlocks.gleamingGlass));
9597
OreDictionary.registerOre("blockAncientSilver", new ItemStack(MoCBlocks.ancientSilverBlock));

0 commit comments

Comments
 (0)