• 0

    posted a message on Add new village's buildings (solved!)
    great help thx
    Posted in: Modification Development
  • 0

    posted a message on How To Make A CoolDown For a Weapon
    Quote from Oneric

    Just add a timer and only if the Timer is equals to 0 it will be create a Bolt.
    Like this:
    public class ItemNetherBow extends MNCItem_rare{
    
    public int cooldown = 0;
    
    public ItemNetherBow(int par1) {
    super(par1);
    
    }
    
    
    
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    {
    if (cooldown == 0)
    {
    //Do something
    //and then :
    
    cooldown = 400;
    
    }
    
    
    }
    
    
    
    return par1ItemStack;
    
    }
    
    public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5)
    {
    if(cooldown > 0)
    {
    --cooldown;
    }
    
    if(cooldown < 0)
    {
    cooldown = 0;
    }
    
    }
    
    
    
    }


    iv got another problem now iv got the cooldown but the strike dosent deal damage
    Posted in: Modification Development
  • 0

    posted a message on How To Make A CoolDown For a Weapon
    Quote from creepytroll69

    Well to make something like an item durability bar make it so that the max damage is like 400 and then in the cooldown "repairs" the item when its damaged and when the item is used, the durability drops to 0 or something. Also make it so that nothing will happen when you use it when it's not fully repaired


    any idea on how i could do this?
    Posted in: Modification Development
  • 0

    posted a message on How To Make A CoolDown For a Weapon
    Quote from Oneric

    Just add a timer and only if the Timer is equals to 0 it will be create a Bolt.
    Like this:
    public class ItemNetherBow extends MNCItem_rare{
    
    public int cooldown = 0;
    
    public ItemNetherBow(int par1) {
    super(par1);
    
    }
    
    
    
    public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
    {
    if (cooldown == 0)
    {
    //Do something
    //and then :
    
    cooldown = 400;
    
    }
    
    
    }
    
    
    
    return par1ItemStack;
    
    }
    
    public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5)
    {
    if(cooldown > 0)
    {
    --cooldown;
    }
    
    if(cooldown < 0)
    {
    cooldown = 0;
    }
    
    }
    
    
    
    }

    Quote from wuffelleffuw

    Add a variable to your class, set it 0, if the player right clicks and the variable is 0 increase it and spawn the lightning. Use the onUpdate(...)-method to increase the variable if it's 1 or higher until it reaches a a certain limit, like 20*HowManySecondsYouWantYourCooldownToBe (20 because onUpdate gets called about 20 times per second). If it reaches the limit (or goes even higher than that), set it back to 0.

    Edit: Meh. Exactly what Oneric posted. Just thought I'd let you think a bit for yourself. ;)


    Thx for the help, and would any of you by any chance know how to some how show the cool down time anywhere?
    like in a description of the item or on the item like durability but a different colour

    Quote from wuffelleffuw

    Add a variable to your class, set it 0, if the player right clicks and the variable is 0 increase it and spawn the lightning. Use the onUpdate(...)-method to increase the variable if it's 1 or higher until it reaches a a certain limit, like 20*HowManySecondsYouWantYourCooldownToBe (20 because onUpdate gets called about 20 times per second). If it reaches the limit (or goes even higher than that), set it back to 0.

    Edit: Meh. Exactly what Oneric posted. Just thought I'd let you think a bit for yourself. ;)


    You go in-depth more and that helps with me understanding it, thx
    Posted in: Modification Development
  • 0

    posted a message on How To Make A CoolDown For a Weapon
    Hello all iv been working on some swords and they so far do different things, now iv decided to make this sword spawn lightning when right clicked but figured people would us it too much so how do i add a cool down for it? hears my code.


    Imports

    public class StoneTopazSwordTier1 extends ItemSword{

    protected StoneTopazSwordTier1(int par1, int texture, EnumToolMaterial par2EnumToolMaterial)
    {
    super(par1, par2EnumToolMaterial);
    this.iconIndex = texture;
    }

    public String getTextureFile ()
    {
    return ServerProxy.StoneSwordChippedTopaz;
    }

    public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
    {
    float f = 1.0F;
    float f1 = entityplayer.prevRotationPitch + (entityplayer.rotationPitch - entityplayer.prevRotationPitch) * f;
    float f2 = entityplayer.prevRotationYaw + (entityplayer.rotationYaw - entityplayer.prevRotationYaw) * f;
    double d = entityplayer.prevPosX + (entityplayer.posX - entityplayer.prevPosX) * (double)f;
    double d1 = (entityplayer.prevPosY + (entityplayer.posY - entityplayer.prevPosY) * (double)f + 1.6200000000000001D) - (double)entityplayer.yOffset;
    double d2 = entityplayer.prevPosZ + (entityplayer.posZ - entityplayer.prevPosZ) * (double)f;
    Vec3 vec3d = Vec3.createVectorHelper(d, d1, d2);
    float f3 = MathHelper.cos(-f2 * 0.01745329F - 3.141593F);
    float f4 = MathHelper.sin(-f2 * 0.01745329F - 3.141593F);
    float f5 = -MathHelper.cos(-f1 * 0.01745329F);
    float f6 = MathHelper.sin(-f1 * 0.01745329F);
    float f7 = f4 * f5;
    float f8 = f6;
    float f9 = f3 * f5;
    double d3 = 5000D;
    Vec3 vec3d1 = vec3d.addVector((double)f7 * d3, (double)f8 * d3, (double)f9 * d3);
    MovingObjectPosition movingobjectposition = world.rayTraceBlocks_do_do(vec3d, vec3d1, false, true);
    if (movingobjectposition == null)
    {
    return itemstack;
    }
    if (movingobjectposition.typeOfHit == EnumMovingObjectType.TILE)
    {
    int i = movingobjectposition.blockX;
    int j = movingobjectposition.blockY;
    int k = movingobjectposition.blockZ;
    world.spawnEntityInWorld(new EntityLightningBolt(world, i, j, k));
    }return itemstack;
    }
    }

    If any one can help it'll be very much appreciated thanks for reading
    Posted in: Modification Development
  • 3

    posted a message on [Forge] Item description, help!
    put this into your Item Code


    public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par2List, boolean par4)
    {
    par2List.add("\u00a7a" + "Put your description/message hear");

    }

    And one note if u make it too long u probably wont be able to read it so i recommend making another line for it, just copy par2List.add and put it under it like this

    public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par2List, boolean par4)
    {
    par2List.add("\u00a7a" + "Test");


    par2List.add("\u00a7a" + "your new line");

    }

    U can add as much lines as u want but u don't want to over crowd your screen and if your wondering what the "\u00a7a" is, its the colour this is set to green but if u want a different colour try changing the last letter 'a' to another letter like 'b' note colours stop at 'e' but u can also have some other cool things starting at 'k' ending a 'o' have fun
    Posted in: Modification Development
  • 0

    posted a message on -SOLVED-[SEVERE] Encountered an Unexpected Exception LoaderException-SOLVED-
    Quote from TechGuy543

    Somewhere in your code is referencing to WorldClient. That class doesn't exist on a server because it uses WorldServer.

    Java knowledge gets you a long way, especially when facing errors like this...


    never mind i fixed it i just needed to register it server side well change somethings and add some so it works now thx for the help
    Posted in: Server Support and Administration
  • 0

    posted a message on -SOLVED-[SEVERE] Encountered an Unexpected Exception LoaderException-SOLVED-
    cool i figured out the WorldClient thing but now iv fixed that i got a Armor Error


    [SEVERE] Encountered an unexpected exception LoaderException
    cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addArmor(Ljava/lang/String;)I
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:658)
    at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:94)
    at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:350)
    at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:135)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458)
    at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addArmor(Ljava/lang/String;)I
    at noonzark.myncraft.common.MynCraftMain.load(MynCraftMain.java:162)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
    ... 5 more
    Posted in: Server Support and Administration
  • 0

    posted a message on -SOLVED-[SEVERE] Encountered an Unexpected Exception LoaderException-SOLVED-
    Every time I start my server i get this error, iv tried looking for any errors, iv got none at all iv also checked if something im my code was stuffing it up so if anyone knows it would be very helpful thx.

    [SEVERE] Encountered an unexpected exception LoaderException
    cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:658)
    at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:94)
    at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:350)
    at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:135)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458)
    at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient
    at net.minecraftforge.client.MinecraftForgeClient.preloadTexture(MinecraftForgeClient.java:41)
    at noonzark.myncraft.common.MynCraftMain.load(MynCraftMain.java:71)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
    ... 5 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient
    at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 33 more
    Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/WorldClient for invalid side SERVER
    at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:38)
    at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
    at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
    ... 35 more
    [SEVERE] This crash report has been saved to: /Users/richardogrady/Desktop/Noonzarks File/Modding/mcp726a/jars/./crash-reports/crash-2013-02-27_06.43.48-server.txt
    Posted in: Server Support and Administration
  • 0

    posted a message on Custom Forge Server Mod Wont Work
    Bump anyone?
    Posted in: Modification Development
  • 0

    posted a message on Custom Forge Server Mod Wont Work
    Hey every one iv recently got my mod working client side and decided that i would try put it on a server and i got this error

    ---- Minecraft Crash Report ----
    // Surprise! Haha. Well, this is awkward.

    Time: 2/10/13 6:34 PM
    Description: Exception in server tick loop

    cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: ayp
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:658)
    at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:94)
    at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:350)
    at ho.c(DedicatedServer.java:135)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458)
    at fy.run(SourceFile:849)
    Caused by: java.lang.NoClassDefFoundError: ayp
    at net.minecraftforge.client.MinecraftForgeClient.preloadTexture(MinecraftForgeClient.java:41)
    at noonzark.myncraft.common.MynCraftMain.init(MynCraftMain.java:79)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
    at com.google.common.eventbus.EventBus.post(EventBus.java:268)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
    ... 5 more
    Caused by: java.lang.ClassNotFoundException: ayp
    at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 33 more
    Caused by: java.lang.RuntimeException: Attempted to load class ayp for invalid side SERVER
    at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:38)
    at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
    at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
    ... 35 more


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.4.7
    Operating System: Mac OS X (x86_64) version 10.7.3
    Java Version: 1.6.0_37, Apple Inc.
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
    Memory: 1036763552 bytes (988 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)
    JVM Flags: 3 total; -Xmx1024M -Xms1024M -XX:MaxPermSize=40M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
    FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    MynCraft [MynCraft] (MynCraft.jar) Unloaded->Constructed->Pre-initialized->Errored
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml'
    Type: Dedicated Server (map_server.txt)

    If some one can help me i would be very grateful
    thx for reading
    Posted in: Modification Development
  • 0

    posted a message on My mod dose not want to load?
    oh and i also edited some main class files


    -EnumToolMaterial.java
    -EnumRarity.java
    -GuiMainMenu.java
    -GuiScreen.java
    -EnumArmorMaterial.java
    Posted in: Modification Development
  • 0

    posted a message on Can't find a method
    Quote from Gonfa

    this might help you? http://www.minecraft...BT_Tag_Compound


    Thx for that ill come back if i can figure out how to put NBT into PlayerTracker.class
    Posted in: Modification Development
  • 0

    posted a message on Can't find a method
    this is very interesting and i was trying the same thing so it would open a gui but what i dont understand is NBT? could someone explain it to me or post a link?
    Posted in: Modification Development
  • 0

    posted a message on My mod dose not want to load?
    Quote from TheRedHun1

    If you exported it with errors then it may be that the errors are causing it not to work. To be honest we cannot help you unless you provide some source code and an error report.

    Quote from RedFoxy3

    Post your mod's source code, and the error.


    I don't have errors in my code and minecraft dose not crash it pauses so it dosent give me and error report but ill post my code under this comment

    @Mod(modid = "MynCraft", name = "MynCraft", version = "1.4.5")
    @NetworkMod(clientSideRequired = true, serverSideRequired = false)
    public class MynCraftMain
    {
    @Instance("MynCraft")
    public static MynCraftMain instance;

    @SidedProxy(clientSide = "noonzark.myncraft.client.ClientProxy", serverSide = "noonzark.myncraft.common.CommonProxy")
    public static CommonProxy proxy;

    @PreInit
    public void preInit(FMLPreInitializationEvent event)
    {
    DimensionManager.registerProviderType(dimention, DimensionWorldProviderTest.class, false);
    DimensionManager.registerDimension(dimention, dimention);

    EntityRegistry.registerModEntity(EntityFireGuy.class, "Guy", 1, this, 80, 3, true);
    EntityRegistry.addSpawn(EntityFireGuy.class, 10, 2, 8, EnumCreatureType.monster, BiomeGenBase.desert, BiomeGenBase.desert, BiomeGenBase.desertHills);
    LanguageRegistry.instance().addStringLocalization("entity.MynCraft.Guy.name", "Guy");
    registerEntityEgg(EntityFireGuy.class, 0xF51B1B, 0xF5761B);
    }

    @Init
    /*Blocks*/public void preInit(FMLInitializationEvent event)
    {
    MinecraftForgeClient.preloadTexture("/noonzark/myncraft/common/Blocks.png");
    MinecraftForgeClient.preloadTexture("/noonzark/myncraft/common/Blocks_HD.png");

    ObsidianOre = new BlockObsidianOre(230, 0).setBlockName("ObsidianOre").setCreativeTab(ModBlocksTab);
    RubyOre = new BlockRubyOre(231, 1).setBlockName("RubyOre").setCreativeTab(ModBlocksTab);
    MagicDirt = new BlockMagicDirt(232, 2).setBlockName("MagicDirt").setCreativeTab(ModBlocksTab);
    MagicGrass = new BlockMagicGrass(233, 3).setBlockName("MagicGrass").setCreativeTab(ModBlocksTab);
    MagicLog = new BlockMagicLog(234).setBlockName("MagicLog").setCreativeTab(ModBlocksTab);
    MagicPlanks = new BlockMagicPlanks(235, 4).setBlockName("MagicPlanks").setCreativeTab(ModBlocksTab);
    MagicLeaf = new BlockMagicLeaf(236, 5).setBlockName("MagicLeaf").setCreativeTab(ModBlocksTab);
    BlockForge = new FurnaceBlock(237, Material.iron).setBlockName("Forge").setCreativeTab(ModBlocksTab);
    AmethystOre = new BlockAmethystOre(239, 6).setBlockName("AmethystOre").setCreativeTab(ModBlocksTab);
    SapphireOre = new BlockSapphireOre(240, 7).setBlockName("SapphireOre").setCreativeTab(ModBlocksTab);
    TopazOre = new BlockTopazOre(241, 8).setBlockName("TopazOre").setCreativeTab(ModBlocksTab);
    MagicSapling = new BlockMagicSapling(238, 9).setBlockName("MagicSapling").setCreativeTab(ModBlocksTab);
    Portal = new DimensionPortal(245, 12).setBlockName("Portal").setCreativeTab(ModBlocksTab);
    BervloreStone = new BlockBervloreStone(246, 0).setBlockName("BervloreStone").setCreativeTab(ModBlocksTab);
    BervloreSmoothStone = new BlockBervloreSmoothStone(247, 1).setBlockName("BervloreSmoothStone").setCreativeTab(ModBlocksTab);
    BervloreBrick = new BlockBervloreBrick(248, 3).setBlockName("BervloreBrick").setCreativeTab(ModBlocksTab);

    LanguageRegistry.addName(ObsidianOre, "ObsidianOre");
    LanguageRegistry.addName(RubyOre, "RubyOre");
    LanguageRegistry.addName(MagicDirt, "MagicDirt");
    LanguageRegistry.addName(MagicGrass, "MagicGrass");
    LanguageRegistry.addName(MagicLog, "MagicLog");
    LanguageRegistry.addName(MagicPlanks, "MagicPlanks");
    LanguageRegistry.addName(MagicLeaf, "MagicLeaf");
    LanguageRegistry.addName(BlockForge, "BlockForge");
    LanguageRegistry.addName(AmethystOre, "AmethystOre");
    LanguageRegistry.addName(SapphireOre, "SapphireOre");
    LanguageRegistry.addName(TopazOre, "TopazOre");
    LanguageRegistry.addName(MagicSapling, "MagicSapling");
    LanguageRegistry.addName(Portal, "Portal Block");
    LanguageRegistry.addName(BervloreStone, "BervloreStone");
    LanguageRegistry.addName(BervloreSmoothStone, "BervloreSmoothStone");
    LanguageRegistry.addName(BervloreBrick, "BervloreBrick");

    GameRegistry.registerBlock(ObsidianOre, "ObsidianOre");
    GameRegistry.registerBlock(RubyOre, "RubyOre");
    GameRegistry.registerBlock(MagicDirt, "MagicDirt");
    GameRegistry.registerBlock(MagicGrass, "MagicGrass");
    GameRegistry.registerBlock(MagicLog, "MagicLog");
    GameRegistry.registerBlock(MagicPlanks, "MagicPlanks");
    GameRegistry.registerBlock(MagicLeaf, "MagicLeaf");
    GameRegistry.registerBlock(BlockForge, "BlockForge");
    GameRegistry.registerBlock(AmethystOre, "AmethystOre");
    GameRegistry.registerBlock(SapphireOre, "SapphireOre");
    GameRegistry.registerBlock(TopazOre, "TopazOre");
    GameRegistry.registerBlock(MagicSapling, "MagicSapling");
    GameRegistry.registerBlock(Portal, "Portal");
    GameRegistry.registerBlock(BervloreStone, "BervloreStone");
    GameRegistry.registerBlock(BervloreSmoothStone, "BervloreSmoothStone");
    GameRegistry.registerBlock(BervloreBrick, "BervloreBrick");

    GameRegistry.registerWorldGenerator(new WorldGeneratorOres());

    GameRegistry.addRecipe(new ItemStack(BlockForge, 1) , new Object[]{"#&#", "# #", "#&#", Character.valueOf('#'), Block.stone, Character.valueOf('&'), Block.cobblestone});
    GameRegistry.addRecipe(new ItemStack(MagicPlanks, 2) , new Object[]{"#", Character.valueOf('#'), MagicLog});
    GameRegistry.addRecipe(new ItemStack(BervloreBrick, 1) , new Object[]{"##", "##", Character.valueOf('#'), BervloreStone});

    GameRegistry.addSmelting(BervloreStone.blockID, new ItemStack(BervloreSmoothStone), 0.5F);
    }

    @Init
    /*Gems*/public void preInit1(FMLInitializationEvent event)
    {
    ChippedRuby = new GemChippedRuby(500, 0).setItemName("ChippedRuby").setCreativeTab(ModGemsTab);
    ChippedAmethyst = new GemChippedAmethyst(501, 1).setItemName("ChippedAmethyst").setCreativeTab(ModGemsTab);
    ChippedSapphire = new GemChippedSapphire(502, 2).setItemName("ChippedSapphire").setCreativeTab(ModGemsTab);
    ChippedTopaz = new GemChippedTopaz(503, 3).setItemName("ChippedTopaz").setCreativeTab(ModGemsTab);
    FlawedRuby = new GemFlawedRuby(504, 4).setItemName("FlawedRuby").setCreativeTab(ModGemsTab);
    FlawedAmethyst = new GemFlawedAmethyst(505, 5).setItemName("FlawedAmethyst").setCreativeTab(ModGemsTab);
    FlawedSapphire = new GemFlawedSapphire(506, 6).setItemName("FlawedSapphire").setCreativeTab(ModGemsTab);
    FlawedTopaz = new GemFlawedTopaz(507, 7).setItemName("FlawedTopaz").setCreativeTab(ModGemsTab);
    RegularRuby = new GemRegularRuby(508, 8).setItemName("RegularRuby").setCreativeTab(ModGemsTab);
    RegularAmethyst = new GemRegularAmethyst(509, 9).setItemName("RegularAmethyst").setCreativeTab(ModGemsTab);
    RegularSapphire = new GemRegularSapphire(510, 10).setItemName("RegularSapphire").setCreativeTab(ModGemsTab);
    RegularTopaz = new GemRegularTopaz(511, 11).setItemName("RegularTopaz").setCreativeTab(ModGemsTab);
    FlawlessRuby = new GemFlawlessRuby(512, 12).setItemName("FlawlessRuby").setCreativeTab(ModGemsTab);
    FlawlessAmethyst = new GemFlawlessAmethyst(513, 13).setItemName("FlawlessAmethyst").setCreativeTab(ModGemsTab);
    FlawlessSapphire = new GemFlawlessSapphire(514, 14).setItemName("FlawlessSapphire").setCreativeTab(ModGemsTab);
    FlawlessTopaz = new GemFlawlessTopaz(515, 15).setItemName("FlawlessTopaz").setCreativeTab(ModGemsTab);
    PerfectRuby = new GemPerfectRuby(516, 16).setItemName("PerfectRuby").setCreativeTab(ModGemsTab);
    PerfectAmethyst = new GemPerfectAmethyst(517, 17).setItemName("PerfectAmethyst").setCreativeTab(ModGemsTab);
    PerfectSapphire = new GemPerfectSapphire(518, 18).setItemName("PerfectSapphire").setCreativeTab(ModGemsTab);
    PerfectTopaz = new GemPerfectTopaz(519, 19).setItemName("PerfectTopaz").setCreativeTab(ModGemsTab);

    LanguageRegistry.addName(ChippedRuby, "ChippedRuby");
    LanguageRegistry.addName(ChippedAmethyst, "ChippedAmethyst");
    LanguageRegistry.addName(ChippedSapphire, "ChippedSapphire");
    LanguageRegistry.addName(ChippedTopaz, "ChippedTopaz");
    LanguageRegistry.addName(FlawedRuby, "FlawedRuby");
    LanguageRegistry.addName(FlawedAmethyst, "FlawedAmethyst");
    LanguageRegistry.addName(FlawedSapphire, "FlawedSapphire");
    LanguageRegistry.addName(FlawedTopaz, "FlawedTopaz");
    LanguageRegistry.addName(RegularRuby, "RegularRuby");
    LanguageRegistry.addName(RegularAmethyst, "RegularAmethyst");
    LanguageRegistry.addName(RegularSapphire, "RegularSapphire");
    LanguageRegistry.addName(RegularTopaz, "RegularTopaz");
    LanguageRegistry.addName(FlawlessRuby, "FlawlessRuby");
    LanguageRegistry.addName(FlawlessAmethyst, "FlawlessAmethyst");
    LanguageRegistry.addName(FlawlessSapphire, "FlawlessSapphire");
    LanguageRegistry.addName(FlawlessTopaz, "FlawlessTopaz");
    LanguageRegistry.addName(PerfectRuby, "PerfectRuby");
    LanguageRegistry.addName(PerfectAmethyst, "PerfectAmethyst");
    LanguageRegistry.addName(PerfectSapphire, "PerfectSapphire");
    LanguageRegistry.addName(PerfectTopaz, "PerfectTopaz");

    GameRegistry.addRecipe(new ItemStack(FlawedRuby, 1) , new Object[]{"##", "##", Character.valueOf('#'), ChippedRuby});
    GameRegistry.addRecipe(new ItemStack(FlawedAmethyst, 1) , new Object[]{"##", "##", Character.valueOf('#'), ChippedAmethyst});
    GameRegistry.addRecipe(new ItemStack(FlawedSapphire, 1) , new Object[]{"##", "##", Character.valueOf('#'), ChippedSapphire});
    GameRegistry.addRecipe(new ItemStack(FlawedTopaz, 1) , new Object[]{"##", "##", Character.valueOf('#'), ChippedTopaz});
    GameRegistry.addRecipe(new ItemStack(RegularRuby, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawedRuby});
    GameRegistry.addRecipe(new ItemStack(RegularAmethyst, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawedAmethyst});
    GameRegistry.addRecipe(new ItemStack(RegularSapphire, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawedSapphire});
    GameRegistry.addRecipe(new ItemStack(RegularTopaz, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawedTopaz});
    GameRegistry.addRecipe(new ItemStack(FlawlessRuby, 1) , new Object[]{"##", "##", Character.valueOf('#'), RegularRuby});
    GameRegistry.addRecipe(new ItemStack(FlawlessAmethyst, 1) , new Object[]{"##", "##", Character.valueOf('#'), RegularAmethyst});
    GameRegistry.addRecipe(new ItemStack(FlawlessSapphire, 1) , new Object[]{"##", "##", Character.valueOf('#'), RegularSapphire});
    GameRegistry.addRecipe(new ItemStack(FlawlessTopaz, 1) , new Object[]{"##", "##", Character.valueOf('#'), RegularTopaz});
    GameRegistry.addRecipe(new ItemStack(PerfectRuby, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawlessRuby});
    GameRegistry.addRecipe(new ItemStack(PerfectAmethyst, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawlessAmethyst});
    GameRegistry.addRecipe(new ItemStack(PerfectSapphire, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawlessSapphire});
    GameRegistry.addRecipe(new ItemStack(PerfectTopaz, 1) , new Object[]{"##", "##", Character.valueOf('#'), FlawlessTopaz});
    }

    @Init
    /*Runes*/public void preInit2(FMLInitializationEvent event)
    {
    LanguageRegistry.addName(RuneTablet, "RuneTablet");
    LanguageRegistry.addName(RuneKeelk, "KeelkRune");
    LanguageRegistry.addName(RuneArim, "ArimRune");

    GameRegistry.addRecipe(new ItemStack(RuneTablet, 1) , new Object[]{"##", "##", Character.valueOf('#'), Block.cobblestone});
    GameRegistry.addShapelessRecipe(new ItemStack(RuneKeelk, 1), RuneTablet, Item.lightStoneDust);
    GameRegistry.addShapelessRecipe(new ItemStack(RuneArim, 1), RuneTablet, SkeletonRemains);

    }

    @Init
    /*Materials/Items*/public void preInit3(FMLInitializationEvent event)
    {
    LanguageRegistry.addName(ObsidianDust, "ObsidianDust");
    LanguageRegistry.addName(ObsidianIngot, "ObsidianIngot");
    LanguageRegistry.addName(ObsidianIngotMould, "ObsidianIngotMould");
    LanguageRegistry.addName(MagicSticks, "MagicSticks");
    LanguageRegistry.addName(Wand, "Wand");
    LanguageRegistry.addName(SkeletonRemains, "SkeletonRemains");
    LanguageRegistry.addName(CrushedBervloreStone, "CrushedBervloreStone");
    LanguageRegistry.addName(IronHammer, "IronHammer");

    GameRegistry.addRecipe(new ItemStack(ObsidianIngotMould, 1) , new Object[]{"##", "##", Character.valueOf('#'), ObsidianDust});
    GameRegistry.addRecipe(new ItemStack(MagicSticks, 4) , new Object[]{"#", "#", Character.valueOf('#'), MagicPlanks});
    GameRegistry.addRecipe(new ItemStack(Wand, 1) , new Object[]{"#", "&", "&", Character.valueOf('#'), ChippedRuby, Character.valueOf('&'), Item.ingotIron});
    GameRegistry.addRecipe(new ItemStack(IronHammer, 1) , new Object[]{"## ", " %#", "% ", Character.valueOf('#'), Item.ingotIron, Character.valueOf('%'), Item.stick});

    GameRegistry.addShapelessRecipe(new ItemStack(CrushedBervloreStone, 4), BervloreStone, IronHammer);

    GameRegistry.addSmelting(ObsidianIngotMould.itemID, new ItemStack(ObsidianIngot), 0.5F);
    }

    @Init
    /*Tools*/public void preInit4(FMLInitializationEvent event)
    {
    ObsidianPick = new ToolObsidianPick(520, 0, EnumToolMaterial.OBSIDIAN).setItemName("ObsidianPick").setCreativeTab(ModToolsTab);
    ObsidianSword = new ToolObsidianSword(521, 1, EnumToolMaterial.OBSIDIAN).setItemName("ObsidianSword").setCreativeTab(ModToolsTab);
    ObsidianAxe = new ToolObsidianAxe(522, 2, EnumToolMaterial.OBSIDIAN).setItemName("ObsidianAxe").setCreativeTab(ModToolsTab);
    ObsidianSpade = new ToolObsidianSpade(523, 3, EnumToolMaterial.OBSIDIAN).setItemName("ObsidianSpade").setCreativeTab(ModToolsTab);
    ObsidianHoe = new ToolObsidianHoe(524, 4, EnumToolMaterial.OBSIDIAN).setItemName("ObsidianHoe").setCreativeTab(ModToolsTab);
    ObsidianWarHammer = new ToolObsidianWarHammer(525, 5, EnumToolMaterial.OBSIDIAN).setItemName("ObsidianWarHammer").setCreativeTab(ModToolsTab);
    ObsidianKeelkSword = new ToolObsidianKeelkSword(526, 0, EnumToolMaterial.OBSIDIAN).setItemName("ObsidianChippedRuby").setCreativeTab(ModToolsTab).setIconCoord(1, 1);

    LanguageRegistry.addName(ObsidianPick, "ObsidianPick");
    LanguageRegistry.addName(ObsidianSword, "ObsidianSword");
    LanguageRegistry.addName(ObsidianAxe, "ObsidianAxe");
    LanguageRegistry.addName(ObsidianSpade, "ObsidianSpade");
    LanguageRegistry.addName(ObsidianHoe, "ObsidianHoe");
    LanguageRegistry.addName(ObsidianWarHammer, "ObsidianWarHammer");
    LanguageRegistry.addName(ObsidianKeelkSword, "ObsidianKeelkSword");

    GameRegistry.addRecipe(new ItemStack(ObsidianPick, 1) , new Object[]{"###", " & ", " & ", Character.valueOf('#'), ObsidianIngot, Character.valueOf('&'), MagicSticks});
    GameRegistry.addRecipe(new ItemStack(ObsidianSword, 1) , new Object[]{"#", "#", "&", Character.valueOf('#'), ObsidianIngot, Character.valueOf('&'), MagicSticks});
    GameRegistry.addRecipe(new ItemStack(ObsidianAxe, 1) , new Object[]{"## ", "#& ", " & ", Character.valueOf('#'), ObsidianIngot, Character.valueOf('&'), MagicSticks});
    GameRegistry.addRecipe(new ItemStack(ObsidianSpade, 1) , new Object[]{"#", "&", "&", Character.valueOf('#'), ObsidianIngot, Character.valueOf('&'), MagicSticks});
    GameRegistry.addRecipe(new ItemStack(ObsidianHoe, 1) , new Object[]{"#% ", " % ", " % ", Character.valueOf('#'), ObsidianIngot, Character.valueOf('%'), MagicSticks});
    GameRegistry.addRecipe(new ItemStack(ObsidianWarHammer, 1) , new Object[]{"#&#", "#&#", " & ", Character.valueOf('#'), ObsidianIngot, Character.valueOf('&'), MagicSticks});

    GameRegistry.addShapelessRecipe(new ItemStack(ObsidianKeelkSword, 1), ObsidianSword, RuneKeelk);

    }

    @Init
    /*StoneSwords*/public void preInit5(FMLInitializationEvent event)
    {
    StoneSwordChippedRuby = new StoneSwordChippedRuby(800, 0, EnumToolMaterial.CHIPPEDRUBYSTONE).setItemName("StoneSwordChippedRuby").setCreativeTab(ModGemedToolsTab);
    StoneSwordChippedRuby2 = new StoneSwordChippedRuby2(801, 1, EnumToolMaterial.CHIPPEDRUBYSTONE2).setItemName("StoneSwordChippedRuby2").setCreativeTab(ModGemedToolsTab);
    //chippedruby3 TEXTURE = 2
    //chippedruby4 TEXTURE = 3
    StoneSwordChippedAmethyst = new StoneSwordChippedAmethyst(802, 4, EnumToolMaterial.CHIPPEDAMETHYSTSTONE).setItemName("StoneSwordChippedAmethyst").setCreativeTab(ModGemedToolsTab);
    StoneSwordChippedAmethyst2 = new StoneSwordChippedAmethyst2(803, 5, EnumToolMaterial.CHIPPEDAMETHYSTSTONE2).setItemName("StoneSwordChippedAmethyst2").setCreativeTab(ModGemedToolsTab);
    //chippedamethyst3 TEXTURE = 6
    //chippedamethyst4 TEXTURE = 7
    StoneSwordChippedSapphire = new StoneSwordChippedSapphire(804, 8, EnumToolMaterial.CHIPPEDSAPPHIRESTONE).setItemName("StoneSwordChippedSapphire").setCreativeTab(ModGemedToolsTab);
    StoneSwordChippedSapphire2 = new StoneSwordChippedSapphire2(805, 9, EnumToolMaterial.CHIPPEDSAPPHIRESTONE2).setItemName("StoneSwordChippedSapphire2").setCreativeTab(ModGemedToolsTab);
    //chippedsapphire3 TEXTURE = 10
    //chippedsapphire4 TEXTURE = 11

    //chippedtopaz1 TEXTURE = 12
    //chippedtopaz2 TEXTURE = 13
    //chippedtopaz3 TEXTURE = 14
    //chippedtopaz4 TEXTURE = 15

    LanguageRegistry.addName(StoneSwordChippedRuby, "StoneSwordChippedRuby");
    LanguageRegistry.addName(StoneSwordChippedRuby2, "StoneSwordChippedRuby2");

    LanguageRegistry.addName(StoneSwordChippedAmethyst, "StoneSwordChippedAmethyst");
    LanguageRegistry.addName(StoneSwordChippedAmethyst2, "StoneSwordChippedAmethyst2");

    LanguageRegistry.addName(StoneSwordChippedSapphire, "StoneSwordChippedSapphire");
    LanguageRegistry.addName(StoneSwordChippedSapphire2, "StoneSwordChippedSapphire2");

    GameRegistry.addRecipe(new ItemStack(StoneSwordChippedRuby, 1) , new Object[]{"#", "&", Character.valueOf('#'), ChippedRuby, Character.valueOf('&'), Item.swordStone});
    GameRegistry.addRecipe(new ItemStack(StoneSwordChippedRuby2, 1) , new Object[]{"#", "&", Character.valueOf('#'), ChippedRuby, Character.valueOf('&'), StoneSwordChippedRuby});
    GameRegistry.addRecipe(new ItemStack(StoneSwordChippedAmethyst, 1) , new Object[]{"#", "&", Character.valueOf('#'), ChippedAmethyst, Character.valueOf('&'), Item.swordStone});
    GameRegistry.addRecipe(new ItemStack(StoneSwordChippedAmethyst2, 1) , new Object[]{"#", "&", Character.valueOf('#'), ChippedAmethyst, Character.valueOf('&'), StoneSwordChippedAmethyst});
    GameRegistry.addRecipe(new ItemStack(StoneSwordChippedSapphire, 1) , new Object[]{"#", "&", Character.valueOf('#'), ChippedSapphire, Character.valueOf('&'), Item.swordStone});
    GameRegistry.addRecipe(new ItemStack(StoneSwordChippedSapphire2, 1) , new Object[]{"#", "&", Character.valueOf('#'), ChippedSapphire, Character.valueOf('&'), StoneSwordChippedSapphire});
    }

    @PostInit
    public void PostInit(FMLPostInitializationEvent event)
    {
    LanguageRegistry.addName(HelmetObsidian, "ObsidianHelmet");
    LanguageRegistry.addName(ChestPlateObsidian, "ObsidianChestPlate");
    LanguageRegistry.addName(LegsObsidian, "ObsidianLeggings");
    LanguageRegistry.addName(BootsObsidian, "ObsidianBoots");

    ModLoader.addRecipe(new ItemStack(HelmetObsidian, 1) , new Object[]{"###", "# #", Character.valueOf('#'), ObsidianIngot});
    ModLoader.addRecipe(new ItemStack(ChestPlateObsidian, 1) , new Object[]{"# #", "###", "###", Character.valueOf('#'), ObsidianIngot});
    ModLoader.addRecipe(new ItemStack(LegsObsidian, 1) , new Object[]{"###", "# #", "# #", Character.valueOf('#'), ObsidianIngot});
    ModLoader.addRecipe(new ItemStack(BootsObsidian, 1) , new Object[]{"# #", "# #", Character.valueOf('#'), ObsidianIngot});
    }

    public void load()
    {

    }

    public static int dimention = 20;

    static int startEntityId = 300;

    public static int getUniqueEntityId()
    {
    do
    {
    startEntityId ++;
    }
    while(EntityList.getStringFromID(startEntityId) != null);
    return startEntityId;
    }

    public static void registerEntityEgg(Class<? extends Entity> entity, int primaryColor, int secondaryColor)
    {
    int Id = getUniqueEntityId();
    EntityList.IDtoClassMapping.put(Id, entity);
    EntityList.entityEggs.put(Id, new EntityEggInfo(Id, primaryColor, secondaryColor));
    }

    /*Custom-Tabs*/
    public static CreativeTabs ModBlocksTab = new TabModBlocks(CreativeTabs.getNextID(), "ModBlocks");
    public static CreativeTabs ModGemsTab = new TabModGems(CreativeTabs.getNextID(), "Gems");
    public static CreativeTabs ModRunesTab = new TabModRunes(CreativeTabs.getNextID(), "Runes");
    public static CreativeTabs ModItemsTab = new TabModItems(CreativeTabs.getNextID(), "ModItems");
    public static CreativeTabs ModToolsTab = new TabModTools(CreativeTabs.getNextID(), "ModTools");
    public static CreativeTabs ModGemedToolsTab = new TabModGemedTools(CreativeTabs.getNextID(), "GemedTools");
    public static CreativeTabs ModMaterialsTab = new TabModMaterials(CreativeTabs.getNextID(), "ModMaterials");
    public static CreativeTabs ModArmorTab = new TabModArmor(CreativeTabs.getNextID(), "ModArmor");

    /*Armor*/
    public static Item HelmetObsidian = new ArmorObsidianArmor(1000, EnumArmorMaterial.OBSIDIAN, ModLoader.addArmor("obsidian"), 0).setItemName("ObsidianHelmet").setCreativeTab(ModArmorTab).setIconCoord(0, 0);
    public static Item ChestPlateObsidian = new ArmorObsidianArmor(1001, EnumArmorMaterial.OBSIDIAN, ModLoader.addArmor("obsidian"), 1).setItemName("ObsidianChestPlate").setCreativeTab(ModArmorTab).setIconCoord(0, 1);
    public static Item LegsObsidian = new ArmorObsidianArmor(1002, EnumArmorMaterial.OBSIDIAN, ModLoader.addArmor("obsidian"), 2).setItemName("ObsidianLegs").setCreativeTab(ModArmorTab).setIconCoord(0, 2);
    public static Item BootsObsidian = new ArmorObsidianArmor(1003, EnumArmorMaterial.OBSIDIAN, ModLoader.addArmor("obsidian"), 3).setItemName("ObsidianBoots").setCreativeTab(ModArmorTab).setIconCoord(0, 3);

    /*Blocks*/
    public static Block ObsidianOre;
    public static Block RubyOre;
    public static Block MagicDirt;
    public static Block MagicGrass;
    public static Block MagicLog;
    public static Block MagicPlanks;
    public static Block MagicLeaf;
    public static Block BlockForge;
    public static Block AmethystOre;
    public static Block SapphireOre;
    public static Block TopazOre;
    public static Block MagicSapling;
    public static Block Portal;
    public static Block BervloreStone;
    public static Block BervloreSmoothStone;
    public static Block BervloreBrick;

    public static int MagicGrassBottom;
    public static int MagicGrassTop;
    public static int MagicGrassSide;
    public static int BlockForgeFront;
    public static int BlockForgeSide;
    public static int BlockForgeTop;
    public static int MagicLogBottom;
    public static int MagicLogSide;

    /*Gems*/
    public static Item ChippedRuby;
    public static Item ChippedAmethyst;
    public static Item ChippedSapphire;
    public static Item ChippedTopaz;
    public static Item FlawedRuby;
    public static Item FlawedAmethyst;
    public static Item FlawedSapphire;
    public static Item FlawedTopaz;
    public static Item RegularRuby;
    public static Item RegularAmethyst;
    public static Item RegularSapphire;
    public static Item RegularTopaz;
    public static Item FlawlessRuby;
    public static Item FlawlessAmethyst;
    public static Item FlawlessSapphire;
    public static Item FlawlessTopaz;
    public static Item PerfectRuby;
    public static Item PerfectAmethyst;
    public static Item PerfectSapphire;
    public static Item PerfectTopaz;

    /*Runes*/
    public static Item RuneTablet = new RuneTablet(5000).setItemName("RuneTablet").setCreativeTab(ModRunesTab).setIconCoord(0, 0);
    public static Item RuneKeelk = new RuneKeelk(5001).setItemName("KeelkRune").setCreativeTab(ModRunesTab).setIconCoord(0, 1);
    public static Item RuneArim = new RuneArim(5002).setItemName("ArimRune").setCreativeTab(ModRunesTab).setIconCoord(0, 2);
    //Aolk

    /*Items*/
    public static Item ObsidianDust = new ItemObsidianDust(242, 1).setItemName("ObsidianDust").setCreativeTab(ModMaterialsTab);
    public static Item ObsidianIngot = new ItemObsidianIngot(243, 2).setItemName("ObsidianIngot").setCreativeTab(ModMaterialsTab);
    public static Item ObsidianIngotMould = new ItemObsidianIngotMould(244, 3).setItemName("ObsidianIngotMould").setCreativeTab(ModMaterialsTab);
    public static Item MagicSticks = new ItemMagicSticks(400, 4).setItemName("MagicSticks").setCreativeTab(ModMaterialsTab);
    public static Item Wand = new ItemWand(402, 5).setItemName("Wand").setCreativeTab(ModItemsTab);
    public static Item SkeletonRemains = (new ItemSkeletonRemains(401, 0)).setItemName("SkeletonRemains").setCreativeTab(ModMaterialsTab);
    public static Item CrushedBervloreStone = (new ItemCrushedBervloreStone(403, 1)).setItemName("CrushedBervloreStone").setCreativeTab(ModMaterialsTab);
    public static Item IronHammer = (new ItemIronHammer(404, 2)).setItemName("IronHammer").setCreativeTab(ModItemsTab);

    /*Tools*/
    public static Item ObsidianPick;
    public static Item ObsidianSword;
    public static Item ObsidianAxe;
    public static Item ObsidianSpade;
    public static Item ObsidianHoe;
    public static Item ObsidianWarHammer;
    public static Item ObsidianKeelkSword;

    /*StoneSwords*/
    public static Item StoneSwordChippedRuby;
    public static Item StoneSwordChippedRuby2;

    public static Item StoneSwordChippedAmethyst;
    public static Item StoneSwordChippedAmethyst2;

    public static Item StoneSwordChippedSapphire;
    public static Item StoneSwordChippedSapphire2;

    }

    And im sorry if its too messy
    I also think that my problem might be something i have not put into my code that i might need to add? If you know if im missing something plz tell me
    Posted in: Modification Development
  • To post a comment, please .