• 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Make sure you are staying up to date with github to see what has been added! Also be sure to leave any suggestions you have for the mod
    Posted in: WIP Mods
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Hello everyone, i have just wrote a message on the main thread! Please read!
    Posted in: WIP Mods
  • 0

    posted a message on Error on startup
    i added the code if you needed to see it
    Posted in: Modification Development
  • 0

    posted a message on Error on startup
    I get this error on startup and i cant seem to figure it out. I dont know what code you will need to see but here is the error
    2012-11-26 20:20:02 [SEVERE] [ForgeModLoader] The following problems were captured during this phase
    2012-11-26 20:20:02 [SEVERE] [ForgeModLoader] Caught exception from Floracraft
    java.lang.IllegalArgumentException: Can not set static floracraft.common.core.CommonProxy field floracraft.common.Floracraft.proxy to floracraft.common.Floracraft
    at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
    at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
    at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source)
    at java.lang.reflect.Field.set(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:396)
    at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:322)
    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:415)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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:143)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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:81)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:401)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:150)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:420)
    at net.minecraft.client.Minecraft.run(Minecraft.java:752)
    at java.lang.Thread.run(Unknown Source)

    Code in mod

    main mod class with proxy stuff
    @Mod(modid = Strings.MOD_ID, name = Strings.MOD_NAME, version = Strings.VERSION)
    @NetworkMod(channels = { Strings.CHANNEL_NAME },clientSideRequired = true, serverSideRequired = false, packetHandler = ServerPacketHandler.class)
    
    
    
    public class Floracraft {
    @Instance(Strings.MOD_ID)
    @SidedProxy(clientSide = Strings.CLIENT_PROXY_CLASS, serverSide= Strings.SERVER_PROXY_CLASS)
    public static CommonProxy proxy;

    CommonProxy
    public class CommonProxy implements IGuiHandler{
    public void initRenderingAndTextures() {}
    public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
    {
    return null;
    }
    public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
    {
    TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
    
    if(tileEntity != null)
    {
    switch(ID)
    {
    														 case 0:
    }
    }
    return ID;
    }
    public void initTileEntities() {
    
    }
    
    
    
    
    }

    Posted in: Modification Development
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Final tests are being done now. You can most likely see a public version out tomorrow. I will not include any means of research or any special items yet. It will include the crops and flowers and nettle sword.
    Posted in: WIP Mods
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Update 11/15: Recoded how the custom block gui works so it is more efficient. Also small adjustments.

    In other big news a can project a release date for the mod! We are probably looking at 2 weeks until a stable public version will be out. It will include all things listed in the original post.
    Posted in: WIP Mods
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Update 11/14: Rewrote most of code for better efficiency. I also created a config file so you can change block and Item Id's for compatibility reasons. I may add in a config option to prompt the user if there is a newer version available. Would anyone want this? Also on a side not if anyone has experience with guis then please pm me, thank you
    Posted in: WIP Mods
  • 0

    posted a message on Looking for someone with experiance with custom GUI's
    I need some help with custom guis and recipes in a mod i am creating. If you could help out please let me know.
    Posted in: Mods Discussion
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Update 11/13 Added new items/blocks check the Items/Blocks section
    Posted in: WIP Mods
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    ElectronicSheep, we are still working to make it playable with most mechanics in the game. I will pm you with details when i have a version ready.

    Apollo8757 Thank you!
    Posted in: WIP Mods
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Thank you Kovu!
    Posted in: WIP Mods
  • 0

    posted a message on [FORGE][1.5.1]Floracraft 2
    Floracraft 2

    Mod created by myself(code) and OraTheOwlish(textures)
    Floracraft 2 is a mod that will introduce new farmable items into the game. Unlike other farming mods this mod will have brand new features!

    Note to a moderator: You can delete the original Floraraft thread. Thank you.


    Read First:

    Sorry for the very, very long wait on this mod to come to a release stage. Ora and I have both been caught up with personal things and have been taking it slow. On top of the the many updates minecraft have gone through have slowed us up. Currently I am rewriting the mod for Minecraft 1.5.1. Also our mod is now open source, meaning anyone can see the progress or even help us out with ideas or suggestions. Open source will also allow other minecraft mod developers to fix bugs or add new functionality to the mod. Thank you, and please make sure to leave suggestions!

    Github: Floracraft
    Posted in: WIP Mods
  • 0

    posted a message on Custom Gui Help
    If i used this would it work correctly, its not showing errors but im not sure if it will
    public void addResearch(int id, int id2,ItemStack itemStack, float experience)
    {
    		  researchList.put(Integer.valueOf(id), itemStack);
    		  researchList.put(Integer.valueOf(id2), itemStack);
    		  this.researchExperience.put(Integer.valueOf(itemStack.itemID), Float.valueOf(experience));
    }
    Posted in: Modification Development
  • 0

    posted a message on Custom Gui Help
    no its not a furnace, Its somthing that combines items. I will try that code tomorrow Hirvio
    Posted in: Modification Development
  • 0

    posted a message on Custom Gui Help
    Bump
    Posted in: Modification Development
  • To post a comment, please or register a new account.