From 3faba7c053153d7f5382d6523ab0e146269844bf Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Sun, 16 Jul 2017 08:49:18 +0200 Subject: [PATCH] Fixed not being able to smelt quartz into silicon, fixes #1365 --- CHANGELOG.md | 3 +++ .../com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index be6a6065e..1b283d998 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Refined Storage Changelog +### 1.5.11 +- Fixed not being able to smelt quartz into silicon (raoulvdberge) + ### 1.5.10 - Converted Solderer recipes to JSON (raoulvdberge) - Implemented controller update throttling, should fix lag issues with controllers that constantly turn off and on (raoulvdberge) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java b/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java index e2d99741a..67ebbf68c 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java @@ -32,8 +32,10 @@ import com.raoulvdberge.refinedstorage.tile.grid.portable.TilePortableGrid; import net.minecraft.block.Block; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentData; +import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemEnchantedBook; +import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.Ingredient; import net.minecraft.util.JsonUtils; import net.minecraft.util.ResourceLocation; @@ -210,6 +212,8 @@ public class ProxyCommon { public void init(FMLInitializationEvent e) { OreDictionary.registerOre("itemSilicon", RSItems.SILICON); + GameRegistry.addSmelting(Items.QUARTZ, new ItemStack(RSItems.SILICON), 0.5f); + CraftingHelper.register(new ResourceLocation(RS.ID + ":enchanted_book"), new IIngredientFactory() { @Nonnull @Override