Plethora777 / mcpe_viz

Minecraft Pocket Edition (MCPE) World Visualization & Reporting Tool with Web App
GNU General Public License v2.0
167 stars 39 forks source link

Spawnable Blocks Checker Doesn't Seem to Work Anymore #39

Closed kylesutton closed 5 years ago

kylesutton commented 7 years ago

The current version seems to ignore lighting when determining spawnability, but I thought older versions took lighting into account. Attached is a simple creative world, where even spaces containing torches themselves are marked as spawnable. Is there something I'm doing wrong?

Here's the generation command I'm using:

mcpe_viz --grid --flush --auto-tile --db 3nUOACmgAAA= --out TestWorld/TestWorld --html-all --check-spawn=0,140,-45,180

minecraftWorlds.3nUOACmgAAA=.20170625.zip

davojan commented 7 years ago

Confirming. Same issue, mcpe 1.1.3. Block light view is also broken. Everything is black.

Plethora777 commented 5 years ago

Sadly, as far as I can tell, block light is no longer stored in the world file. This means that there is no longer an easy way to do check-spawn.... This option might have to go away.

davojan commented 5 years ago

Is it too difficult to calculate block light dynamically? The rules are well defined and pretty straightforward AFAIK. This might be a good challenge :)

Plethora777 commented 5 years ago

@davojan YES exactly. But.... ouch. That's on the todo list :)