Skip to content
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

Mislabeled blocks #20

Closed
picotazo opened this issue Mar 13, 2020 · 4 comments · Fixed by #33
Closed

Mislabeled blocks #20

picotazo opened this issue Mar 13, 2020 · 4 comments · Fixed by #33
Assignees
Labels
bug Something isn't working

Comments

@picotazo
Copy link

picotazo commented Mar 13, 2020

OK looking closer at the XML file and using my test world I am seeing many mislabeled using the original XML file. When I am using the updated XML file from my fork many missing blocks now show in the output but are still mislabeled or just don't appear if I have 1 of each slab on the ground, for example the 3 different prismarine slabs are labeled as "slab, Red Sandstone" and newer blocks like " "Cut red sandstone" and "cut sandstone" don't show up at all. Looking at the XML it seems like it has something to do with the blocks that have block variants, like the program is ignoring the variants and only being identified as the root block.

Another example possibly the easiest to view is wood planks all are labeled as oak planks.

On the other hand some of the new items such as the new wooden buttons/doors/trapdoors since they are all individual Blocks they all are identified properly.

I tired removing the main color of the item and adding the different colors for the variants they then get labeled as "UNKNOWN BLOCK"

@picotazo
Copy link
Author

picotazo commented Mar 13, 2020

OK all stone blocks are all being identified as basic "stone" not diorite or granite or anything. Either the program is ignoring the DV/blockdata piece when it identifies the block or it needs to be changed to look at the "stone_type" tag to determine its type. I think the same thing goes for most other blocks that have variants, like the wood,slabs and stairs do not know where in the program this is determined.

@counterfitninja
Copy link

Looks like concrete is doing the same thing. Ill take a look at the code and see if i can find anything but so far it all looks ok. Like you say its seems to be ignoring the blockdata

@picotazo
Copy link
Author

picotazo commented Apr 13, 2020 via email

@counterfitninja
Copy link

I dont think any of the block variants are working. It seems to be pick this first in the list and lable them all with that. Ill do some more digging.

@tomnolan tomnolan self-assigned this Jun 26, 2020
@tomnolan tomnolan added the bug Something isn't working label Jun 26, 2020
@tomnolan tomnolan mentioned this issue Jun 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants