Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

hydroflame

Members
  • Joined

  • Last visited

Everything posted by hydroflame

  1. aaaaaaahhhhhhhhh well thank you ^^ yeah im using the recommended build not the latest (build 789)
  2. ... ah man .... [lmgtfy]file cannot be resolved to a variable[/lmgtfy] learning java is important to make awesome mods EDIT: forge tutorial on config files: http://www.minecraftforge.net/wiki/How_to_make_an_advanced_configuration_file
  3. basicly my log tell me that its missing a binary patch and this are about to go wrong. but nothing actually happens and everything works fine... anyone knows which file is he actually complaining about ? my logs:
  4. well like we were thinking earlier, the meta, but we dont knwo how to extend it beyond 16.
  5. because your method is extremmely memory intensive ? imagine if you have a wall of those blocks. when the player needs to load them itll take forever to the server to send hundred of relativelly empty tile entity
  6. yeah but sometimes if you know X item has Y id its easier to simply type give Y 64 instead of looking through hundreds of item btw i actually agree with you more then i agree with the argument above, specially since theres a search bar soooo ... since you dont care about ID, why dont you just fill in the blanks in the Block.blocksList ?
  7. hen .... i guess its sortof a good reason, you could always automagicly assign empty id to your block if you're not using the "give" command
  8. try commenting only the inside of the methods public void readagaw(nbt){ super.readagwa(nbt); } but not the "super" also try try{ nbt.setIntArray("group", this.group); nbt.setIntArray("partners", this.partners); nbt.setInteger("speed", this.speed); nbt.setInteger("ticksTillCheck", this.ticksTillCheck); }catch(Exception e){ e.printStackTrace(); System.out.println("\n\n\n SHIT IS NOT WORKING EEEEUUUUUUUUGGGGG WAAAIIII \n\n\n"); }
  9. isnt thsi problem kinda like not having enough method to do something, like just putting everything in 1 huge ass method ? maybe the problem is that you should actually be having that much block inside 1 id can i know what are you trying to store in 1 id ? i promise not to tell you that you should be using different id (even if i think so after reading your answer) EDIT: if you're using a tile entity, make sure that other people can use this tile entity to do special stuff with it, just put in your doc that their version of writeToNBt and readFrom NBT REQUIRES a call to super.read/writetoNBT
  10. hmmm thats too bad, well the only pointer i can give you is look at how vanilla redstone wire work
  11. @gotolink, lol, didnt notice that
  12. *releif* can you get access to the mod you want to clone source ? usually source help a little EDIT: also, welcome to the club (im doign a master in software engineering at the moment )
  13. do you actually know how to code ? and by "know how to code" i mean is this the first thing ever you do in java/coding ?
  14. do you really have > 16 block that share exact same characteristic ?
  15. i dont have an answer but i have a tip do you really need a new kind of redstone power? because if you were using a already made API you could concentrate on actually making your mod instead of spending time on this. just my 2 cent, maybe you DO need to make a new kind of redstone wire becasue you really need some special fonctionnality with it good modding
  16. the issue doesnt really require OP to post code
  17. line 33 of RSM: ConfigHandler.init(null); so yes its normal thsi fails you need to create a new file File file = new File("wtfman:P.cfg"); ConfigHandler.init(file); jsut a comparison, mine looks like this, its using forge build in system: // Configuration private Configuration config; @EventHandler public void preInit(FMLPreInitializationEvent event) { EquipmentStatsBase.setupMap(); // the advantage of usign config files is that if theres a conflict // between 2 items or 2 block, the config file will generate a new id // for the block that wont go in conflict with any other id, preventing // crashes. config = new Configuration(event.getSuggestedConfigurationFile()); blockIds = new int[] { config.getBlock("orichalcumOre", 509).getInt() , config.getBlock("unobtainiumOre", 510).getInt() }; itemIds = new int[] {config.getItem("test", 1000).getInt(), config.getItem("magestaff", 1001).getInt(), config.getItem("heartoftheadmin", 1002).getInt(), config.getItem("mythil", 1003).getInt(), config.getItem("meteorite", 1004).getInt(), config.getItem("adamantium", 1005).getInt(), config.getItem("orichalcum", 1006).getInt(), config.getItem("unobtainium", 1007).getInt(),}; config.save();
  18. did you println before drawign the text box, have you tried moving it to drawForegroudn ?
  19. @biggles, my work network block pastebin and github @op, please continue to use the forums and maybe ALSO add a link to your github
  20. what other way would there be if(NoNameTagsKeyBind.cancelPre == true) ? if(NoNameTagsKeyBind.cancelPre != false) ? if(NoNameTagsKeyBind.cancelPre) ? if(NoNameTagsKeyBind.cancelPre || false) ? ...all those do the same thing ...
  21. well i dont see any immediate error, maybe you can try?actually you should always try before asking :\
  22. was renamed to buttonList yknow you can open the class GuiContainer, GuiScreen and look to see how to code is made
  23. whats the problem ?
  24. is that what they are doing ? (you talked about NEI earlier)

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.