Module collision

Source

Structs§

ArrayVoxelShape
BitSetDiscreteVoxelShape
CubePointRange
CubeVoxelShape
Shapes

Enums§

DiscreteVoxelShape
MoverType
VoxelShape

Statics§

BLOCK_SHAPE
EMPTY_SHAPE

Traits§

BlockWithShape

Functions§

box_shape
fluid_shape
Get the VoxelShape for the given fluid state.
legacy_blocks_motion
Whether the block is treated as “motion blocking”.
legacy_calculate_solid
move_colliding
Move an entity by a given delta, checking for collisions.

Trait Aliases§

IntLineConsumer