-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid NBT tag with world minecraft 1.14 #303
Comments
I have allready use c10t, and had some work on NBT tag, but never with so many change... |
So either it's a tag type which is not supported because c10t is rather outdated, or the region file is corrupted. I'm not maintaining this project actively, but I'll review any changes coming in. |
@tanaka141 try some hands on digging by adding
before line 411, see below Line 411 in 3874582
|
The result is : BAD TAG 0xc As this :
Or this :
Notice the point "." which appear some time |
So we don't have support for |
@tanaka141 nice work there with PR #306 |
Patch 1, NBT support for long array tag needed to for #303
Now that we support
|
So blocks are now referenced by a Palette Name string after lookup rather then an ID? |
As explained in the wiki description, Blockstates is where all blocks informations are, but :
if my english is so bad, this is because i am french, near fluent, but i miss some word to explain |
Yeah but then the internal block type lookup and rendering handler needs a rewrite to support the name string scheme, plus a default pallet for old maps |
Perhaps add some code with a test of DataVersion, where DataVersion < 1976, use the old system, in other case, use the new one for the rest ? After this, the new code will be to transform all new blocks informations in the same way of the old one for all c10t code point of view |
DataVersion should absolutely be used, I was thinking about implementing a new more dynamic handling for blocks and rendering mode selection before, see #301 (comment), to support the old system would just load a default Pallet if DataVersion requires it. Then a color data file containing entries of "<block name>,<color>,<side color>,<boolean darken>,<rendering method>" or something similar |
cool |
Here is a list of Data vs BlockStates changes https://minecraft.gamepedia.com/1.13/Flattening and was apparently introduced in version 1.13 |
Hi, Because i am not a long time c++ programmer (know very good PHP and Java, c++ was one of my first programming program), i needed to read all lines of this code. What i saw during this walk around, that all are in level file (header/source) where we must work. To do something good, i think, we must forget to make one c10t able to read all minecraft version. The master branch must be for the lastest minecraft version, and old ones versions must be in different branch. |
I think it is safe to close this ticket; @tanaka141 you did great, your changes were merged and the tag is now supported |
i just also launch c10t and the .png is black
with --debug option, i get this text :
/home/minecraft/serveur/world/region/r.-1.1.mca(-15,47): dequeued OK
and in c10t.log, i got :
"/home/minecraft/serveur/world/region/r.-1.-4.mca(-17,-116)": Not a valid tag type
during 17999 lines with region and x/y changing
The text was updated successfully, but these errors were encountered: