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.

Cookie160

Members
  • Joined

  • Last visited

  1. Hi, I'm trying to make a solar "powered" light that turns on at night, and since there aren't many tutorials on that, much less well known class names, functions and whatnot for 1.8, I was hoping if someone could point me in the right direction for the easiest way to do it, considering it only needs to check for two times. Thanks
  2. I'm having trouble with this: it crashes due to ".getItemModelMesher()". Don't know why, any clue as to what may be wrong?
  3. Just curious about something: I know that lots of modders create .jar models for blocks and items, but since that feature is almost redundant due to the .json model feature in 1.8, do you plan on supporting this feature, or do you plan scratching it due to the fact that .json files are just assets and are used just like any other texture?
  4. Maybe you never ran 1.7.2, because you skipped to 1.7.4?
  5. So I'm gonna update my mod to 1.7, I installed the Forge src, loaded everything up in Eclipse, and I looks fine. But, the minecraft folder has an exclamation point on it, and Forge crashes. I haven't installed anything else yet. Error: [11:40:23] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [11:40:23] [main/ERROR]: Unable to launch java.lang.ClassNotFoundException: cpw.mods.fml.common.launcher.FMLTweaker at java.net.URLClassLoader$1.run(URLClassLoader.java:202) ~[?:1.6.0_65] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_65] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) ~[?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) ~[?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:104) ~[launchwrapper-1.9.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65] at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65] at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65] at net.minecraft.launchwrapper.Launch.launch(Launch.java:97) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Any idea as to what I'm doing wrong? This looks very scary... BTW: I'm sorry if this is in the wrong section, I couldn't decide...
  6. Anything in src/main/resources will be included in the resulgin jar when you run greadle build. Also... decompiled mod what? Looking at your mod I notice a few things: 1) God fucking damn macs stop adding so much useless crap! hidden folders everywhere! 2) The 'assets' folder goes into the ROOT of the jar not in the nuke_mod folder, same goes for mcmod.info and the like. 3) You're obfusicating to obf names you should obf to srg names, also, update to 1.7. Thank you, it worked!!!
  7. Thank you, you make a great point, but, where exactly in the code should this Data Watcher go?
  8. Ya, I got it working. here's the mod: https://www.dropbox.com/s/2po2s27z6cm4g10/Nuke%20Mod.jar In fact, here's proof that I'm not wasting your time: Decompiled Mod in Eclipse: https://www.dropbox.com/s/zhlf6tj56pjh0pu/Screen%20Shot%202014-02-20%20at%2011.09.24%20AM.png
  9. Ya, I got it working. here's the mod: https://www.dropbox.com/s/2po2s27z6cm4g10/Nuke%20Mod.jar
  10. You're just trying to load the block textures, right? Try to add these to your block file: Constructor: setTextureName("YourModID:yourblockname"); Body: @SideOnly(Side.CLIENT) /** * From the specified side and block metadata retrieves the blocks texture. Args: side, metadata */ public Icon getIcon(int par1, int par2) { return par1 == 0 ? this.field_94392_b : (par1 == 1 ? this.field_94393_a : this.blockIcon); } @SideOnly(Side.CLIENT) /** * When this method is called, your block should register all the icons it needs with the given IconRegister. This * is the only chance you get to register icons. */ public void registerIcons(IconRegister par1IconRegister) { this.blockIcon = par1IconRegister.registerIcon(this.getTextureName() + "_side"); } Hope this helps!
  11. So, I exported my mod today, everything went fine. I run it, it works, but it doesn't have textures or an mcmod.info file. It's not loading anything but the classes. Next, I did the same thing anybody else would, unzip the jar/zip. It errors: So, I'm out of ideas, I'm willing to post the mod, too. Any help is greatly appreciated! Edit: Also, I'm 100% sure that no classes are missing!
  12. Look over at some stuff, I though: Am I correct?
  13. Hello I'm making a mod that's working fine, except for the fact that my custom TNT renders white... Code: Thank you, and I realize that I'm probably missing something huge.
  14. Thank you so much! It works now!!!
  15. Thank you, I've changed the directory, and nothing's changed... I wish I could provide more info, but like I said, nothing's changed. Would it help if I uploaded the mod itself?

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.