satoshinm / WebSandboxMC

Bukkit plugin providing a web-based interface with an interactive WebGL 3D preview or glimpse of your server 🕷⏳📦 ⛺
https://www.spigotmc.org/resources/websandboxmc.39415/
MIT License
19 stars 5 forks source link

Remove generation of local terrain, only show web sandbox #58

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago

Currently, WebSandboxMC runs a local instance of NetCraft with its own terrain generation, since that's how it is done in Craft -- local generation from a seed, then the server applies deltas. But it would be desirable to only show the server's blocks instead.

Requested in https://www.spigotmc.org/threads/websandboxmc.232807/page-2#post-2419974

May depend on https://github.com/satoshinm/NetCraft/issues/136 Compact chunk updates, for full blocks from server instead of delta

satoshinm commented 7 years ago

Local terrain generation on the web platform is also buggy (possible threading issue leading to world gaps): https://github.com/satoshinm/WebSandboxMC/issues/58

Terrain generation is in src/world.c

satoshinm commented 7 years ago

Implemented this in https://github.com/satoshinm/NetCraft/pull/189