Fixed not being able to smelt quartz into silicon, fixes #1365

This commit is contained in:
raoulvdberge
2017-07-16 08:49:18 +02:00
parent f7be884537
commit 3faba7c053
2 changed files with 7 additions and 0 deletions

View File

@@ -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)

View File

@@ -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