Module entity_collisions

Module entity_collisions 

Source

Structs§

LastBoundingBox
A component that mirrors the Physics::bounding_box of every entity, but is updated before client-side physics is done.

Functions§

get_entities
Return all entities that are colliding with the given bounding box and match the given predicate.
get_entity_collisions
update_last_bounding_box
Update the LastBoundingBox for every entity.

Type Aliases§

AabbQuery
CollidableEntityFilter
This filter matches on entities that we can collide with (boats and shulkers).
CollidableEntityQuery
This query matches on entities that we can collide with. That is, boats and shulkers.