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.

larsgerrits

Members
  • Joined

  • Last visited

Everything posted by larsgerrits

  1. If you don't know how to not call a method statically when the method isn't static, I highly suggest you learn some basic Java first, and then come back to modding.
  2. Subscribe to the OreEvent.GenerateMinable event, and set the result to Result.DENY if event.type==OreEvent.GenerateMinable.EventType.WHATEVER .
  3. You have to make a new implementation of IRecipe . Then you have to register your recipe class with GameRegistry.registerRecipe(new YourRecipe()) .
  4. Yes, that will work.
  5. Actually this is exactly what I did. "Import existing project into workspace". But this creates a new project in the eclipse workspace, so I called it like this. Then why don't you have your code in src/main/java ?
  6. On the bottom of the page is a button called 'LOCK TOPIC'.
  7. That has nothing to do with Java... The windows file system doesn't care about upper- and lowercase names, but jars do care.
  8. You don't have to import the forge library. You just have to run gradlew setupDecompWorkspace eclipse and you import your project in eclipse. Done. No need for a seperate 'Forge' project.
  9. Forget names, you need to only compare instances! No need for names or IDs!
  10. Leaves store if a player placed in their metadata. You could maybe do this.
  11. That's because you set this.model.PipeWest.showModel to false before you render it...
  12. Some information about Config Guis (Mod Options)
  13. In the normal version, are there any errors in the log, like FileNotFoundException?
  14. 1) Make a custom ToolMaterial using EnumHelper.addToolMaterial(...) (parameters should be self-explanatory). 2) Make you item class extend ItemPickaxe, passing in your own ToolMaterial. 3) Make sure you register your item as a normal item. 4) Done.
  15. Well, you should use the AdvancedModelLoader, as it makes a call either to ObjModelLoader or TechneModelLoader depending on the suffix.
  16. You have to pass in a Material to the blocks constructor.
  17. http://www.minecraftforge.net/forum/index.php/topic,24263.0.html
  18. int posX = chunkX + random.nextInt(16); int posY = random.nextInt(64); int posZ = chunkZ + random.nextInt(16); You have to multiply chunkX and chunkZ with 16.
  19. You have to sync the variables from server->client. You can probably use the DataWatcher for that.
  20. Did you register your renderer? You get 2 messages: one is client side and on is server side.

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.