Pessimistress / minecraft-chunk-viewer

Visualize Minecraft region files in the browser
MIT License
179 stars 22 forks source link

Updates for minecraft 1.12 released June 7, 2017 #9

Open sethborg opened 6 years ago

sethborg commented 6 years ago

Since your release Minecraft has changed clay to terracotta, added glazed terracotta, added concrete and concrete powder, and changed the beds texture and colors. Bed now use block entities to determine color. I don't think your scripts/blocks.json has a way to handle that.

Also, how is static/data/blocks.png used? I'd like to help and it would help if the readme gave an overview of how this all works. I've modified scripts/blocks.json to add the latest blocks (not sure about beds though as I've said) and I can upload a new static/data/textures.png but I was hesitant because I didn't know what compression settings you saved it with. The default in photoshop lowered the file size so I didn't want to lose any quality. Any suggestions?

Pessimistress commented 6 years ago

@sethborg blocks.png is generated by a script.

Pessimistress commented 6 years ago

@sethborg I'll look into the block entities handling. I suppose we can just add an entities field to options?

sethborg commented 6 years ago

Sorry, not sure. What's your plan for 1.13 support since they're dynamically setting block IDs based on palettes of what blocks are in each 16x16x16 block. NBT explorer has been updated and can show the palette data in the latest minecraft snapshot. I'm not sure where the map of palette to block ID is stored though or how that all works.

sethborg commented 6 years ago

Someone decoded the 1.13 chunk format. Hope you can use this to help update this app to 1.13 compatible.

https://www.minecraftforum.net/forums/minecraft-java-edition/recent-updates-and-snapshots/2894808-minecraft-1-13-new-chunk-format-fully-decoded-read