Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

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. Show the ExtendedPlayer class.
  15. 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.
  16. Well, you should use the AdvancedModelLoader, as it makes a call either to ObjModelLoader or TechneModelLoader depending on the suffix.
  17. You have to pass in a Material to the blocks constructor.
  18. http://www.minecraftforge.net/forum/index.php/topic,24263.0.html
  19. 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.
  20. You have to sync the variables from server->client. You can probably use the DataWatcher for that.
  21. Did you register your renderer? You get 2 messages: one is client side and on is server side.
×
×
  • Create New...

Important Information

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