I have started a new modding series for 1.8.9! All of the videos are hosted on Youtube, but for the sake of convenience, I'd ask that you post your questions here rather than comment on the video.
Don't hesitate to let me know if you have any special requests or if I need some correction on the content. As a general warning, I wanted the series to be pretty fun and relaxed; so much so that there may be a bit of profanity here and there. Ya can't code without cursing!
Minecraft Modding 1.8.9 - S3E1 - Setup
Minecraft Modding 1.8.9 - S3E2 - Setting Up Mod Class and Proxies
Minecraft Modding 1.8.9 - S3E3 - Blocks and Rendering
Minecraft Modding 1.8.9 - S3E4 - Items and Rendering
Minecraft Modding 1.8.9 - S3E5 - CreativeTabs
Minecraft Modding 1.8.9 - S3E6 - Get Item from Block
Minecraft Modding 1.8.9 - S3E7 - Recipes
Minecraft Modding 1.8.9 - S3E8 - Smelting
Minecraft Modding 1.8.9 - S3E9 - Tools
Minecraft Modding 1.8.9 - S3E10 - Armor and Effects
Looks great so far (first 3 episodes) tho I'm really hoping all this is documented somewhere too lol... How else would someone be able to figure out the call for registerBlock.
One thing that puzzles me: How is it that your proxy is of class CommonProxy and yet it's calling the init method of ClientProxy (episode 3)? I know ClientProxy extends CommonProxy but it should still be of the ClientProxy type to call that particular init method... Java shouldn't automatically pick up another class just because it extends the one you specified.
Just finished episode 6, great progress and really loving these tutorials.
Some tips tho:
- Explain early on how they can implement logging; this will make debugging much easier
- If you continue determining drops and quantities with ifs or iifs your code will become a nightmare to maintain; a more structured approach can help early on.
For the latter, I'll share my own mod which I modeled on your first 6 episodes and then refactored. Basically, each block and item is a class on its own and has its own logic and functionality; those the basics remain the same.