Jump to content

shadowfacts

Forge Modder
  • Posts

    588
  • Joined

  • Last visited

Everything posted by shadowfacts

  1. setBlockBounds
  2. Yeah, what Draco said.
  3. Hey all, I want to make a simple mod which adds a configurable custom world provider for all Vanilla dimensions. I've done a bit of poking around the web, but I haven't been able to find any good starting places. So my question is, if you were building a custom world provider, where would you start? (aside from setup and whatnot) Thanks in advance
  4. Take a look at this code, add it to your project, and implement whichever interface you need (depending on what you want to do with RF.
  5. You don't need a cusstom class if you are just getting each of the blocks by using three neseted for loops. You would already have their coordinates, the three different variables from each of the for loops.
  6. Ummmm, I have no idea why it isn't working. Draco18s or diesieben07, want to help?
  7. Well, start with a normal furnace, take out the code that makes it use fuel, then replace with with code to consume RF and add a way to display how much RF is stored.
  8. *sigh* Just pick something and try to do it. There is no way to "get amazing at modding" you just have to make something.
  9. Use imgur to send me a screenshot.
  10. Have you even tried doing it yourself yet? If you haven't, then do so.
  11. Use something like imgur to upload it.
  12. Just open up the javadoc zip you downloaded from files.minecraftforge.net and look at the documentation for whatever method you happen to be using.
  13. Is oPlant_stage_0 an animation? If so the metadata is wrong.
  14. Take the .jar file from the build/libs folder and place it into your mods folder and see if it works.
  15. I don't see what the problem is. You can just change the names of the parameters. If the problems is that you can't tell what each parameter is supposed to be, it shouldn't be too hard to figure it out from the context, the parameters in the onBlockAdded method you provided are the world, x, y, and z coordinates.
  16. Make a new topic.
  17. The image that you are trying to load needs to be an exact square, e.g. 16 x 16 pixels or 32 x 32 pixels. If the width and height of the image are not exactly the same, you will get an error.
  18. If you're on Windows use: gradlew.bat build If you're on Mac/Linux use: ./gradlew build
  19. That is wrong. I already told you. Do that and the final .jar will be in build/libs
  20. *facepalms* getIcon not getIIcon and registerIcons not registerIIcons.
  21. What is the exact video where he compiled the mod.
  22. Look at the method in the Block class. Then look at yours. What is different?
  23. Check out how OpenBlocks does it for the Hang Glider, without reflection or ASM. Edit: I can BBCode,
  24. Yeah, common practice to make it easier to tell wether something is a class, method, or field. Seriously, use it. This naming convention is used in pretty much every programming language that has classes.
  25. Also, the first letter of your class name should be capitalized. e.g. MachineBlock not machineBlock.
×
×
  • Create New...

Important Information

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