Track tile blocking status of npcs and players. Because all entities share the same blocking grid, this can be modified in various ways. This is what allows stacking of npcs in the first place.
- Entity moves? previous tiles are released, new tiles are blocked
- Entity despawns? previous tiles are released
- Entity spawns? current tiles are blocked
- Entity attempts movement but can't move? current tiles are re-blocked (this specific situation will occur every tick)
Sometimes you want to block an npc or prevent potential pathing so knowing a players current blocking status can be beneficial.
java_luC6o6UqrZ.mp4
Helps identify situations where npcs will mostly not allow their tiles to be released.
Technically speaking these tiles can be released, but the associated npcs that are stuck will re-block their tiles every game tick; This being said, npcs with higher priority (lower PID) will still be able to path onto stuck tiles, but all other npcs will be prevented from pathing.
Stuck-Tiles.mp4
Not exactly useful if alts are available, but a potentially practical use-case of knowing current blocking status