Everything posted by drinfernoo
- 
	
		
		having issues with textures
		
		Which stuff should go in your main mod class then?
 - 
	
		
		having issues with textures
		
		Oh? So should the client stuff go in the client proxy?
 - 
	
		
		having issues with textures
		
		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.
 - 
	
		
		How to I manually start minecraft using 'Run'?
		
		You could run it with MultiMC, and that gives you a nice console window.
 - 
	
		
		Recipes and HashMaps
		
		Apparently the trick was to use Arrays.asList() and put them in a list form, instead of an array.
 - 
	
		
		Recipes and HashMaps
		
		Ok. Thank you, I'll give that a shot.
 - 
	
		
		Recipes and HashMaps
		
		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.
 - 
	
		
		Recipes and HashMaps
		
		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.
 - 
	
		
		Recipes and HashMaps
		
		Nobody has any ideas? lol
 - 
	
		
		Recipes and HashMaps
		
		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.
 - 
	
		
		Recipes and HashMaps
		
		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?
 - 
	
		
		Detecting installed mods
		
		Nevermind. I found it. FMLClientHandler.instance().hasOptifine() lol
 - 
	
		
		Help with a mod (Isn't forge but still help please. D:)
		
		Couldn't you have just read the log? "Optifine is installed or is missing files." Also, fuck MCPatcher.
 - 
	
		
		Detecting installed mods
		
		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?
 - 
	
		
		Detecting installed mods
		
		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"; } }
 - 
	
		
		Weird TileEntity Error
		
		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
 - 
	
		
		Old forge back!
		
		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.
 - 
	
		
		Weird TileEntity Error
		
		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
 - 
	
		
		Old forge back!
		
		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.
 - 
	
		
		Weird TileEntity Error
		
		Any ideas about that stack trace?
 - 
	
		
		Weird TileEntity Error
		
		It's actually right here in my CommonProxy.java: Is it supposed to be the modid? Or the name of the class? Got it.
 - 
	
		
		Forge 4.1.1 + HD Textures
		
		Meaning that while having FML loaded, texture packs with animated water/lava won't display correctly?
 - 
	
		
		Weird TileEntity Error
		
		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:
 - 
	
		
		GUIs in 1.3.2
		
		Yup. All the source is up above.
 - 
	
		
		GUIs in 1.3.2
		
		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"
 
IPS spam blocked by CleanTalk.