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.

Parker8283

Forge Modder
  • Joined

  • Last visited

Everything posted by Parker8283

  1. Man, you're posting everything today. "src/main/resources/assets/{modid}/textures/blocks/example.png" "src/main/resources/assets/{modid}/textures/items/example.png" This only works for pre-965 Forge. If you have forge 965, put them in the same directory as your code.
  2. The Data Value of 31008 is too high.
  3. First, downgrade to #1056; #1057 doesn't work. Secondly, if you read the Javadoc, it says that the constructors that you're looking at are SUPPOSED to be hidden, and that you should use the constructor that only has the String parameter.
  4. It's saying it can't find FML. You probably didn't install the Forge source correctly. Can you open the Minecraft source? What build number of Forge do you have?
  5. Yes, I understand that, but you did not answer my question in any way. How do I change where the ".lang" file is found?
  6. You just create a variable for the light value, assign it to the light value of something, then put it in your config handler and tell it to get a Float.
  7. How about some screenshots and anything else that may help us, considering we aren't you and we have no idea what you're talking about?
  8. Well make sure in PreInit and Init you have the @EventHandler annotation over each method and that PreInit receives the FMLPreInitializationEvent parameter and that Init receives the FMLInitializationEvent parameter.
  9. CRASH LOGS CRASH LOGS CRASHSLHSLK:FJ SHCOASF:!!!!!!!!! Seriously, EVERYTIME YOUR GAME CRASHES AND YOU WANT HELP, GIVE US CRASH LOGS!
  10. You see this post? (that's the pic you linked me to)
  11. Don't use #1057. Downgrade to #1056. There's some major bugs with #1057.
  12. Same Thing, just Blocks.stained_glass instead. You can find the metadata for each (the second number) on the MCWiki or in the Source Code.
  13. In a mod I'm helping someone update to 1.7, they have their ModId, but they have a separate String (called TEXTURE_LOCATION), where they put all of their textures, so it's "assets/TEXTURE_LOCATION/textures/...". I know that the file is normally found in "assets/ModId/lang/...", and considering I don't want two folders inside the assets folder for one mod, is there a way where I could tell Minecraft to look somewhere else for the lang file?
  14. Run the following commands in your workspace folder: ./gradlew --refresh-dependencies ./gradlew setupDecompWorkspace --debug ./gradlew eclipse --debug See if it works then. That's what got it working for me during the earlier ForgeGradle days
  15. We need more info than this. MC Version? Forge Build Number? Screenshots?
  16. So then should I just rewrite all the recipes in a HashMap or something similar, and then use that for looking up the recipe?
  17. So, I have a working GUI, but the functionality that I want is, when a player puts a block in a certain slot in my GUI, I want it to find the Crafting Recipe for it, and display it in the Crafting Matrix that I have on my GUI. The problem is, I don't know how to make that happen. I know that the function findMatchingRecipe in the CraftingManager class wont work for this, as that just finds the result of what's in the matrix. So, does anyone know of a function that would find the crafting recipe of a block placed in a certain slot?
  18. You've obviously done something differently without even realizing it.
  19. Forge 157? I don't think that's for 172...
  20. Gui file, Container file, GuiHandler, and the file that opens the Gui (the one where you typed FMLNetworkHandler.openGui())
  21. Java 8 is brand new, so usually not recommended to be used until some updates from now, just like Java 7 was. I'm sticking with 7u51 for now, as it works like a charm.
  22. gradlew.bat is Windows only. Run ./gradlew build
  23. Download the source. Extract it. Open up the folder where you extracted it (the forge folder). You should see some files like build.gradle and gradlew.bat. Shift-right click in that window and choose Open Command Window Here. Then type gradlew.bat setupDecompWorkspace. It should work. (Then, if your using Eclipse, run gradlew.bat eclipse)

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.