diff --git a/gradle.properties b/gradle.properties index 1e54dc1c8..bdd9ea91e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ minecraft_version=1.8 forge_version=1.8-11.14.3.1450 -mod_version=2.1.7 +mod_version=2.1.8 chameleon_version=0.1.0 chameleon_max_version=1.0.0 \ No newline at end of file diff --git a/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java b/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java index c3c39376d..c365421f0 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java +++ b/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java @@ -12,8 +12,10 @@ import com.jaquadro.minecraft.storagedrawers.item.ItemController; import com.jaquadro.minecraft.storagedrawers.item.ItemTrim; import net.minecraft.block.Block; +import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.registry.GameData; import net.minecraftforge.fml.common.registry.GameRegistry; +import net.minecraftforge.oredict.OreDictionary; public class ModBlocks { @@ -50,6 +52,9 @@ public void init () { if (config.isBlockEnabled("trim")) { GameRegistry.registerBlock(trim, ItemTrim.class, "trim"); } + + for (String key : new String[] { "drawerBasic" }) + OreDictionary.registerOre(key, new ItemStack(basicDrawers, 1, OreDictionary.WILDCARD_VALUE)); } public static String getQualifiedName (Block block) {