Hello, sorry if this post seems a little bit unorganized....
I had originally posted this on the minecraft forum's, but I figured I would double my odd's at getting some good intell from people whom are more into the modding scene than what I am currently capable of...
After doing some research on the ever growing popularity of mod's, I've run into a not so
uncommon problem.. It appears that Minecraft can only support 4096 block Id's.
So my question is, is there a way to go beyond that number?
After reading up on a multitude of forum's, I was met with some rather hostile
moderator's telling me that sort of thing was 'impossible' and that I should stop looking
into it...
But I think I may have found a way, two way's to be exact
My first experiment involved modifying the Anvil file format.
This was done by modding the 'Minecraft Anvil converter' source, changing the number of
available bit's in the data layer from 4 to 8, (the minecraft anvil converter is much
easier to use as it will automatically inject and recompile the format code). However,I
may have overlooked some code as the game refused to launch. After I had decompiled my
newly created format file I did find that the bit's were in fact increased to 8 like I
had intended, so my plan didn't actually fail after all, it just need's to be refined a
little bit.
Even if I were to get my new custom format to work, I'll more than likely have to create
a new launcher to utilise the extra bit's, that is unless I create a mod that reformat's
the current format to the new 'custom one', then I can use forge as a spearhead...
The second way is just a theory, it revolves around the way minecraft creates file's and
store's data in them. In the event that I (we) cannot modify the Anvil format to suit our
modding need's, then why not create a mod that create's a second or 'dummy' Anvil file to
store the excess block id's in? Of course this yet non-existent mod would also have to
both load the id's and save them in their respective spots...
I just want to see what you idea's are on this and not start a massive flame war.
thank you
I had originally posted this on the minecraft forum's, but I figured I would double my odd's at getting some good intell from people whom are more into the modding scene than what I am currently capable of...
After doing some research on the ever growing popularity of mod's, I've run into a not so
uncommon problem.. It appears that Minecraft can only support 4096 block Id's.
So my question is, is there a way to go beyond that number?
After reading up on a multitude of forum's, I was met with some rather hostile
moderator's telling me that sort of thing was 'impossible' and that I should stop looking
into it...
But I think I may have found a way, two way's to be exact
My first experiment involved modifying the Anvil file format.
This was done by modding the 'Minecraft Anvil converter' source, changing the number of
available bit's in the data layer from 4 to 8, (the minecraft anvil converter is much
easier to use as it will automatically inject and recompile the format code). However,I
may have overlooked some code as the game refused to launch. After I had decompiled my
newly created format file I did find that the bit's were in fact increased to 8 like I
had intended, so my plan didn't actually fail after all, it just need's to be refined a
little bit.
Even if I were to get my new custom format to work, I'll more than likely have to create
a new launcher to utilise the extra bit's, that is unless I create a mod that reformat's
the current format to the new 'custom one', then I can use forge as a spearhead...
The second way is just a theory, it revolves around the way minecraft creates file's and
store's data in them. In the event that I (we) cannot modify the Anvil format to suit our
modding need's, then why not create a mod that create's a second or 'dummy' Anvil file to
store the excess block id's in? Of course this yet non-existent mod would also have to
both load the id's and save them in their respective spots...
I just want to see what you idea's are on this and not start a massive flame war.
thank you