You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm not mistaken, rain uses this heightmap to determine when it should stop falling. Once weather is implemented, the heightmap can be properly tested.
# 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]>
If I'm not mistaken, rain uses this heightmap to determine when it should stop falling. Once weather is implemented, the heightmap can be properly tested.
The text was updated successfully, but these errors were encountered: