Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Objective Aims to implement #104. # Solution The server needs to generate a heightmap when chunks are generated, update them when blocks are changed, and send it in the `ChunkDataS2c` packet. I think the implementation should be done in the following order: - [x] Encode (constant) heightmap and send it in the `ChunkDataS2c` packet - [x] Build heightmap in `write_init_packets` - [x] Find out which blocks are "motion-blocking" - [x] Implement a `blocks_motion` function - [x] Change `weather.rs` to test the functionality`WORLD_SURFACE` - [x] Find out why one needs to add 2 to the heightmap --------- Co-authored-by: Ryan Johnson <[email protected]>
- Loading branch information