Jump to content

drinfernoo

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by drinfernoo

  1. Which stuff should go in your main mod class then?
  2. Oh? So should the client stuff go in the client proxy?
  3. For whatever reason, your texture is not being registered. I would try moving the MinecraftForgeClient.preloadTexture() calls into your main mod class' init() method. And make absolutely sure that your textures are in the right place and named correctly.
  4. You could run it with MultiMC, and that gives you a nice console window.
  5. Apparently the trick was to use Arrays.asList() and put them in a list form, instead of an array.
  6. Ok. Thank you, I'll give that a shot.
  7. Yes sir, I do know how to use Google. HashMap accepts my array as a key, but doesn't find any value when you pass it with get(). I'll keep trying to figure it out, as it is obvious that nobody here can (or wants to, in Lex's case) help. It's actually not even that much code. I'm not trying to whine here, but I was hoping for help, and I get the opposite.
  8. Could anybody tell me how HashMaps work at least? I am trying to pass an array as the input, and I think that might be where I'm wrong. Trust me, Lex. I've poured over this, even before I posted it.
  9. I did try to work on this yesterday, but to no avail... I changed the inputs for the combinationList HashMap to an int[], that way (hopefully), it wouldn't have a problem with the ItemStacks, and I'm just passing it the blockID. That didn't work either Here's the updated code: EnigmaRecipes: TileEntityBreakdown: TileEntityCombiner: The Breakdown Furnace works, just not the Combiner.
  10. I am trying to make a mod that has (at least) two new "furnaces". One that takes two items/blocks and combines them (the Combiner), and one that takes one item/block, and breaks it into two separate ones (the Breakdown Furnace, for now). My Combiner works, but my Breakdown Furnace doesn't. I had both of them "working", but I realized that the Combiner would take _any_ two items, so I decided to make them a little more specific, and I must've broke it. Here's my codes: For whatever reason, it looks like in canBreakdown(), stacks is always null, so therefore stack1 and stack2 are null, and then it returns false, so it never gets to the breakdownItem() method. Any ideas what's going on here? Am I using those HashMaps wrong?
  11. Nevermind. I found it. FMLClientHandler.instance().hasOptifine() lol
  12. Couldn't you have just read the log? "Optifine is installed or is missing files." Also, fuck MCPatcher.
  13. So, am I looking in the wrong class/method? I have this in my block class: And I am getting this stack trace: But I know I have Optifine installed (and working), as shown here: And yes, I know I'm a few builds behind on Forge What am I doing wrong?
  14. Is there a way, with Forge, to detect which mods are installed? I'd like to try to make a mod that detects if the client has Optifine installed and decide based on that whether to use HD textures or not. Something along the lines of: //psuedocode public String getTextureFile() { if (client has Optifine) { return "hdterrain.png"; } else { return "terrain.png"; } }
  15. Gotcha. It all works good now I am having a goofy thing where the text color changes when I pick up certain items in my clickbar, but I guess that happens in Vanilla too (bug?), so whatever
  16. Well... you didn't follow step number 9. It helps if you could tell us what's still not working, how you went about it, and what error it gives. Did you install with MultiMC, or directly to the jar? Are you using any other mods? What version of Forge? What version of Minecraft? What version of, if you followed my advice, MultiMC? Is it giving you the same error? Can you post your stack trace or crash log? I suggest, in following post, that you try to be little more rational and a little less irritating, because Lex already warned you with a ban.
  17. Oh crap, I was thinking it was doing it automatically since it's an @Init. I added a call to it, and it works just fine
  18. What this means is that something you did to install Forge made your game crash. That's what everyone has been saying so far as well. You, unfortunately, have screwed up installed Forge. 1. Download the newest version of Forge. 2. Force update your MC, so you get a clean jar. 3. For easiest mod installs ever, download newest version of MulitMC, and proceed to step 4. 4. Follow directions to set up MultiMC. 5. Choose your instance in MultiMC, and go to "Edit Mods". 6. Put the forge .zip in the Jar Mods section. 7. Rebuild jar. 8. Enjoy. 9. Stop being a whiny bitch. 10. Click the "Thank You" button on this post.
  19. It's actually right here in my CommonProxy.java: Is it supposed to be the modid? Or the name of the class? Got it.
  20. Meaning that while having FML loaded, texture packs with animated water/lava won't display correctly?
  21. Anybody know what this error means? Right out of my stack trace. This occasionally happens when I click my TileEntity blocks repeatedly. Also, I am getting this error too: 2012-09-13 19:16:27 [WARNING] [ForgeModLoader] A mod tried to open a gui on the server without being a NetworkMod And can't get the GUI to open on that block. Here's the code for my main mod file:
  22. Yup. All the source is up above.
  23. My block isn't a furnace. It's just a BlockContainer. No function. I'm also having a problem, where if I have more than one block that's supposed to open a gui, one says, "A mod tried to pen a gui on the server without being a NetworkMod"
×
×
  • Create New...

Important Information

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