Commit Graph
2 Commits
Author SHA1 Message Date
REDxEYE a48d54aa27 block.raycast/entity.raycast: Updated docs to reflect changes 2024-08-20 15:33:29 +03:00
REDxEYE 1be50c2e06 libblock.raycast: Add argument to specify blocks to ignore during ray casting
libentity.raycast: Add argument to specify blocks to ignore during ray casting
Chunk::rayCast: Add argument to specify blocks to ignore during ray casting.

On lua side filter blocks are passed as list of strings in form of "MOD:BLOCK_NAME"
On C++ size filter blocks are std::set of blockid_t
2024-08-19 21:36:30 +03:00