Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Everything posted by Alamurla

  1. Sorry if I'm no help (I'm still learning), but possible suggestions to try: Perhaps adding @Override just above your initialization of the tile entity within the block class: @Override public TileEntity createNewTileEntity(World par1World) Or maybe setting the data to be saved from within the tile entity class: public void somethingelse(Double newheight) { this.height = newheight; } And then calling that method in your GUI class in the onGuiClosed(): public void onGuiClosed() { Keyboard.enableRepeatEvents(false); Double theNumber = Double.parseDouble(gravLiftHeight); tileEntity.somethingelse(theNumber); } If I had my dev environment handy, I would test for you before replying to ensure it works, but I'm at work. All the tutorials on NBT I have read suggest that the Tile Entity itself has to save the data. Perhaps just passing the data to it does not call the writeToNBT method?
  2. Click the small triangle next to the "Run" button, and select "Run Configurations. Select the "Java Application" you normally use to run Minecraft. Under the Arguments tab, type your user name in the "Program Arguments". A full explination can be found in Pahimar's Let's Mod Series, here:
  3. Click the small triangle next to the "Run" button, and select "Run Configurations. Select the "Java Application" you normally use to run Minecraft. Under the Arguments tab, type your user name in the "Program Arguments". A full explination can be found in Pahimar's Let's Mod Series, here:
  4. According to google this seems to be an old bug that resurfaces from time to time. Try reading this: http://lwjgl.org/forum/index.php/topic,4085.0.html There may be something in there that can be of use.
  5. Personally I use MultiMC. Once you create the instance and run Minecraft for the first time, you can go back in and change the version and also easily add Forge. Select the Instance, click "Edit Mods" and on the right there is a button for MC Forge. Click that and select which build of Forge you want, and it will automatically download and install it for you. Once that is done, just "Edit Mods" again and drag over the mods you want into their respective installation folders.
  6. I've been reading up on the issue on a few forums and the common concensus is that somehow you have a 32 bit version of the lwjgl. Something automatically downloaded the wrong versions. In addition to the script to launch Minecraft with the export path, it has been suggested to go to the lwjgl website and directly downloading the newest version there, then overwriting your old library files with the new ones. Go here: http://lwjgl.org/ and give that a try. If all else fails, other people seen to have had success by using an alternate version of Java (i.e. icedtea). It seems that some distro's have trouble with some java packages. Your other post says you use Kubuntu, and you are using the Oracle package of Java... Perhapse uninstalling the Oracle one and installing a different version may help.
  7. Good to hear! Though since the JDK comes with everything in the JRE, you technically only need the JDK. No harm to have both, but once the JDK is in your path, your computer shouldn't ever even use anything in the JRE.
  8. I'm not entirely sure you need the JDK to be able to decompile, so not having it in your path may not even be an issue at this point, but might when you go to compile your mod. Again, I'm not familiar enough with Java to be sure. All I know is that when I first set everything up back in 1.3 with MCP 4.20, I was using Eclipse, and that definately needs the JDK in your path! But its been a while, and I didn't have any errors with the initial decompile, so I can't recall if that came before or after I set the JDK in my path variable. I did a quick google search and got this post for Windows 8 environment variables: http://www.technoon.com/how-to-add-environment-variables-in-windows-8.html Once you are on that last screen, just move the text cursor to the end, add a semi-colon and then enter the path to your JDK, typically: C:\Program Files\java\<jdk_verision\bin If it doesn't work, at the very least it won't do any harm. I'm about to get off shift so I can check my old MCP folder to see if I can recreate your problem. EDIT: Ok, I ran the Forge installer and had no issues. Apparently it will automatically look for the JDK without needing to have it in the Path... so forget all that (unless you are using Eclipse) I compared my mcp.log to yours and here are the differences: I manually downloaded mcp744.zip on 4/2/13. Your log says it downloaded mcp7.44.zip on or about 4/3/13 mine does not have the period between the 7 and the 44. Not sure what that is all about... Mine ran AccessTransformer right after running MCPMerger. I navigated to the folder and found that I have MCPMerger.java created on 3/31/13 at 8:34 AM. Does the one you have match? Lastly the only other difference is that I have: 01:34:55 - platform: Windows-7-6.1.7601-SP1 01:34:55 - # java: '"C:\Program Files\Java\jdk1.7.0_17\bin\java" -version' 01:34:55 - java version "1.7.0_17" Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) 01:34:55 - # javac: '"C:\Program Files\Java\jdk1.7.0_17\bin\javac" -version' 01:34:55 - javac 1.7.0_17 01:34:55 - # javac runtime: '"C:\Program Files\Java\jdk1.7.0_17\bin\javac" -J-version' 01:34:56 - java version "1.7.0_17" Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) While your log is saying jre7 build 1.7.0_10. In your original post you said you had the latest java installed, well if you do, its being superseded by an older version. If you notice, my log gives a reply every time the installer checks the versions of the various jave exe's, while yours gives a blank reply. At this point I would recommend removing the JRE and reinstalling the latest JDK from the Oracle website. Hopefully that may work.
  9. Bah beat me to the punch, with real working code! I was just coming back from a forum search for the code that causes Notch to drop an apple
  10. You are looking for NBT Tag Coupounds. Two good sources of information on how to use them are here: http://www.minecraftforum.net/topic/982336-tutorial-147-nbttagcompound-using-itemstacks-stacktagcompound-for-permanent-extra-data-storage/ http://www.minecraftforge.net/wiki/How_to_use_NBT_Tag_Compound
  11. It's been a while since I have decompiled the source, though once I can get the 1.5.1 jar downloaded plus all the Forge libraries, I will be doing it in the next day or so. With that said, stupid question time! Are you sure you have the Java Development Kit installed? The JDK is a whole different animal than the standard JRE that most people have. Now I understand from the logs you posted that your computer is using the JRE while attempting to decompile. While I have never tested that, I'm going to go out on a ledge and think it won't work. If you do have the JDK installed, try going to your PATH environment variable and making sure it points to the JDK and not the JRE. I use Windows 7, so I have no idea if its been moved or not. If its still in the same location: Control Panel -> System -> Advanced System Settings (on the left column) -> Environment Variables -> Look under the System Variables group which is under the User Variables. Scroll down until you see PATH and click Edit. Use your arrow keys to move all the way to the end and begin to move back to the left slowly until you see anything pertaining to Java. Change that part to point to the JDK location (take care not to modify anything else there!!). If that doesn't fix your problem, let me know. I hope to be at my dev computer in the next day or so to setup my own MCP environment. I'll take a look at the logs I get and see if I can figure out where your issue is.
  12. The only thing I can think of is that you are trying to use a 32 bit version of "X" with a 64 bit version of "Y". According to the log you posted, it looks like you have a 64 bit version of Java and Linux. Check the version of Eclipse and make sure that you are not running a 32 bit version of that. If your Eclipse IS 64 bit, check to see if you have a legacy version of 32 bit java installed on your computer. Sometimes if the paths are not properly set, it will try the 32 bit version first (which will fail). Check the environmet variables to see if 32 bit Java is listed first.
  13. As far as 1.5 tutorials, I don't know if any are updated right now. It may take a while before they start showing up. For code samples: I have yet to pour through it all , but hopefully this one will help... http://www.minecraftforum.net/topic/1540010-equivalent-exchange-3-pre1f/ Just a quick cursory glance through his github tree and I found this: https://github.com/pahimar/Equivalent-Exchange-3/tree/master/ee3_common/com/pahimar/ee3/client/renderer I'm still learning to code, but hopefully something in there is what you are looking for.
  14. IRC or Internet Relay Chat is an old school version of the newer IM/chat programs today. IRC is hosted by various servers around the world. Each server hosts their own channel, in which we all chat. Forge uses the channel #MinecraftForge on the esper.net server To chat with anyone else monitoring the #MinecraftForge channel you will need some software to connect to the esper.net server. The easiest way is to go to www.esper.net and up at the top right click "chat now". A browser based IRC client will be launched and all you need to do is choose a nickname and channel to join. Stand alone clients are quite common, I personally use Xchat2, but others such as mIRC are popular as well. Once you are more familiar with IRC and wish to protect your chosen nickname, the servers website will list all the details on how to register your nickname to password protect it. Edit: Also, just like the forums, most of the users in IRC will likely not answer immediately, if at all. Always assume if you get no response, that no one there knows the answer, or more likely, is away from the keyboard. Most users keep themselves logged in 24/7 and read the chat history periodically. If there are a lot of active, knowledgeable people on-line, you will get great support. If they are all busy updating to 1.5.1, sleeping, or otherwise somewhere else... well, you will be talking to yourself
  15. To expand on luacs1998's post: WRCBE is Wireless Redstone, ChickenBones Edition. It is a very powerful mod that introduces craftable blocks (as opposed to signs) that you can set different frequencys for. You have both a Transmitter and a Reciever, plus a wireless remote that you can carry with you, allowing you to have a continuous "link" between 2 areas (including different dimesnions) or a "pulse" ability. You can find it here: http://www.minecraftforum.net/topic/909223-14715-smp-chickenbones-mods/ RedPower gives you frames and a frame motor to move alot of blocks at the same time, though it does add new ores to world gen that you will need to do this. If you can't regenerate chuncks for the new ore, you might be interested in some other mods that add new dimensions that you can go to mine the new ores from. In adition to mcpc+ suggested by loordgek, I hear there is a mod called ForgeBukkit that does something similar to allow bukkit plugins to work on Forge servers. There are alot of ways of satisfying your needs, so feel free to ask around the community!
  • Create New...

Important Information

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