Hello!
Sorry to bother with what could be a very simple question, but I'm looking for a point in the right direction to how I can mirror the way Wool blocks are created within Minecraft. I saw the tutorial on the wiki, but instead of being a "copy-paste modder" I'm trying to go through the forge.src and see if I can mimic the way it is done (Still copy-pasting, but I'm learning how it works at the same time)
The last time I ever modded Minecraft was... ages ago. I got quite far, simple ore generation, unique sword based off the Dawnfang from Oblivion (Never nailed the ifTimeIsNight = return Duskfang bit, but I wasn't willing to learn Java back then, or not as much as I am now).
My goals are simpler this time round, I'm simply making a mod that adds a huge collection of building blocks, mostly mono-colored, but I intend to texture all added blocks into wool. It's a mod for Pixel Artists really.
But, I digress. I cannot for the life of me find anything related to BlockCloth. It is as if with 1.8 it's disappeared, unless it's stashed within the Block.class file.
As of yet, each block has been painstakingly made individually, and that includes the .json files (Oh dear lord... Thankfully there was a .json generator available) As of right now, the list is :
* Doesn't include the 51 colors I added with the first attempt at making this. When Eclipse modified both workspaces, each one became corrupt (Shouldn't have tried to be clever...), so this is my third attempt.
The reason I want to use metadata subblocks is for efficiency. I could plough on through with what I've done so far until I've broken the .java file because it contains too many lines, or learn to code more efficiently.
Put another way, I want the infrastructure to be stronger than it is currently, for ease of use in the future.
Any help related to how it works and how exactly i can recreate it would be much appreciated, and I'm also looking for good places over the net to learn Java, so if anyone knows a good place to start, much appreciated.
Thanks to everyone who reads this.
-Tyraim.