Package-level declarations
Types
Tracks locations of specific states in the world.
Properties
Some blocks like slabs or stairs must be placed on upper side in order to be placed correctly.
Returns the block box outline of the block at the position. If the block is air, it will return an empty box. Outline Box should be used for rendering purposes only.
Functions
Finds the shortest path using A* search.
Check if box intersects with bounding box of specified blocks
Simulated net.minecraft.world.phys.HitResult.Type.BLOCK branch in vanilla
Returns the second bed block position that might not exist (normally beds are two blocks long tho).
Check if box is reaching of specified blocks
Like isBlockedByEntities but it returns a blocking end crystal if present.
Checks if the block can be interacted with, null will be returned as not interactable. The blockState is optional but can make the result more accurate, if not provided it will just assume the block is interactable.
Scan blocks outwards from a bed
Scan blocks around the position in a cuboid with filtering.
Scan blocks around the position in a cuboid, filtered and sorted by shape distance from this Vec3. Distance calculation is based on outline shape: shapeGetter.get(state, level, pos, collisionContext).move(pos).distanceToSqr(eyesPos).
Scan blocks outwards from center along given directions, up to layers