Jump to content

tarun1998

Members
  • Posts

    49
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

tarun1998's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Dude you wanna see my entire source folder. I wouldn't have been able to launch the game if the class didn't exist instead it would say ClassNotFoundDef or whatever it does. How about you move anything that extends Event into some other random package that does not have Forge written all over it and then use @ForgeSubscribe on one of your methods and test! Get your facts right before you post. It doesn't say ClassNotFound.
  2. If I move the position of any Event that is usually in forge packages to any other, the game gives me the following: java.lang.InstantiationException: net.minecraft.src.LivingHurtEvent 2012-09-11 16:40:09 [iNFO] [sTDERR] at java.lang.Class.newInstance0(Class.java:340) 2012-09-11 16:40:09 [iNFO] [sTDERR] at java.lang.Class.newInstance(Class.java:308) 2012-09-11 16:40:09 [iNFO] [sTDERR] at net.minecraftforge.event.EventBus.register(EventBus.java:68) 2012-09-11 16:40:09 [iNFO] [sTDERR] at net.minecraftforge.event.EventBus.register(EventBus.java:52) 2012-09-11 16:40:09 [iNFO] [sTDERR] at net.minecraft.src.thirstmod.ThirstMod.onLoad(ThirstMod.java:82) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-09-11 16:40:09 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2012-09-11 16:40:09 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:373) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-09-11 16:40:09 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-09-11 16:40:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2012-09-11 16:40:09 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-09-11 16:40:09 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-09-11 16:40:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-09-11 16:40:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81) 2012-09-11 16:40:09 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:624) 2012-09-11 16:40:09 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:174) 2012-09-11 16:40:09 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:450) 2012-09-11 16:40:09 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:737) 2012-09-11 16:40:09 [iNFO] [sTDERR] at java.lang.Thread.run(Thread.java:680) 2012-09-11 16:40:09 [iNFO] [sTDERR] at net.minecraft.src.thirstmod.ThirstMod.onLoad(ThirstMod.java:82) Is where I register with Event bus. However if I move it back, the game does not crash. I hope this can be fixed if possible.
  3. I guess the only thing left for you to do is implement ISidedInventory on your tiles. It is one thing that I did but im not sure if that actually fixed it, cause I have no idea what that interface does except every tile implements it.
  4. I think you just copied all the contents of the forge download into the jar without placing the files in their respective folders manually. Anyways it says it could not find a class. Reinstall and don't drag paulscode folder straight in but, drag the codec file into the specific folder manually.
  5. There's one for MP which you should be using for each player in a game/lan. MinecraftServer minecraft = FMLClientHandler.instance().getServer(); String allNames[] = minecraft.getAllUsernames().clone(); for(int i = 0; i < allNames.length; i++) { EntityPlayerMP player = minecraft.getConfigurationManager().getPlayerForUsername(allNames[i]); }
  6. Why do you have Furnace code? Though that isn't causing the Items to disappear, I suggest you remove it. From what happened to me, there should not be any problem with your Container, GUI or TileEntity, you just need the EntityPlayer.openGui
  7. I had this bug updating my mod. Use EntityPlayer.openGui to open your gui's if you haven't already. You must also use IGUIHandler. Minecraft needs to send packets. Also make sure your container is coded well.
  8. I can perfectly decompile forge after running chmod 755 on the install.sh
  9. What type of guis, container or normal?
  10. I would like to know why if I make a class and extend Event and place it in a package that is not forge, crashes the game. It gives me a InstantiationException. However if I place the same class in one of the forge packages, game does not crash. Has it been hard-coded for the events to only work if they are in the forge package or is it a restriction with the event system. I have not looked too deeply how this event system works, only how to use it?
  11. If you want to use textures from a custom sprite sheet, then you gotta call getTextureFile. Place this in your Item/Block class: public String getTextureFile() { return "Wherever your file is stored"; }
  12. I saw that, so it does get called. Okay cool.
  13. Just another question: I was looking at CPW Iron Chest mod source, and noticed that he placed CommonProxy as his serverSide proxy. Does that mean that the CommonProxy could be called on the Client as well?
  14. Did you call setTextureFile in your block and item classes?
  15. I was just wondering, since forge now comes in Universal package, would that mean any mod's made in MCP with forge also work on the minecraft_server.jar? It's confusing cause I thought the class names on the server jar was different.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.