Well, I just didn't see how to completely express my interest in the matter without taking the risk of looking like some sort of arrogant know-it-all-that-knows-nothing.FlowerChild wrote:No, I'm just placing all these restrictions on myself for shits and giggles.Catox wrote:Is it such a problem to scan blocs and items of a world ? (or should I say "of a chunk")
Let's drop this here shall we? We can discuss it elsewhere if there's anything useful left to be said.
So, well, if all I can get is sarcasm either way, I guess I'll develop here.
In my understanding, converting a world blocs and items should look something like that :
Code: Select all
for each chunk do
for each block in chunk do
convert id
if container do for each item in container do convert id
for each item in chunk do convert id
for each item in inventory do convert id
From the outside, I can imagine dealing with mc file format could be bothersome, but I believe it has been decoded by now so I'd say it should be feasible. Personally, I'm not used (at all) to deal with compressed formats, so I guess I could try to have a look at it, but my hopes would be very slim.
From the inside, I now you can load distant chunks since some mods do this with buildcraft for instance. Accessing any xyz bloc's data is then obviously possible. If a player can see what's inside a chest, it would also seem obvious that you can check what's in any chest in the world too. Then there are items floating around the world that can be managed by the game in all sort of ways I may have no idea about. The thing is : the data is there, necessarily. Personally, I don't know anything about java, which makes it impossible for me to comprehend what kind of limitation it could cause in this problem, unless someone explains.
So I guess I can't do much about it right now, but this is exactly the kind of problem I like to look into.