From 5fce447142b3c0f4a214ca7eb208d9e5c25e6377 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Sun, 23 Mar 2014 19:01:47 +0200 Subject: Added necklaces, Altar Block, new stuff, better Shadow Ingot texture --- common/darkknight/jewelrycraft/JewelrycraftMod.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/darkknight/jewelrycraft/JewelrycraftMod.java') diff --git a/common/darkknight/jewelrycraft/JewelrycraftMod.java b/common/darkknight/jewelrycraft/JewelrycraftMod.java index 5191047..47ac735 100644 --- a/common/darkknight/jewelrycraft/JewelrycraftMod.java +++ b/common/darkknight/jewelrycraft/JewelrycraftMod.java @@ -16,6 +16,7 @@ import net.minecraft.network.packet.NetHandler; import net.minecraft.network.packet.Packet1Login; import net.minecraft.server.MinecraftServer; import net.minecraft.world.gen.structure.MapGenStructureIO; +import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.oredict.OreDictionary; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; @@ -73,6 +74,7 @@ public class JewelrycraftMod implements IConnectionHandler } }; public static CreativeTabs rings = new CreativeTabRings("Rings"); + public static CreativeTabs necklaces = new CreativeTabNecklaces("Necklaces"); @EventHandler public void preInit(FMLPreInitializationEvent e) @@ -83,6 +85,7 @@ public class JewelrycraftMod implements IConnectionHandler CraftingRecipes.preInit(e); OreDictionary.registerOre("ingotShadow", new ItemStack(ItemList.shadowIngot)); OreDictionary.registerOre("oreShadow", new ItemStack(BlockList.shadowOre)); + MinecraftForge.setBlockHarvestLevel(BlockList.shadowOre, 0, "pickaxe", 3); VillagerRegistry.instance().registerVillagerId(3000); VillagerRegistry.instance().registerVillageTradeHandler(3000, new JCTrades()); -- cgit v1.2.3