-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
module: bs.hitboxModule hitbox updatesModule hitbox updatesmodule: bs.moveModule move updatesModule move updatesmodule: bs.raycastModule raycast updatesModule raycast updates⨠FeatureNew feature requestNew feature request
Milestone
Description
ποΈ Request Type
Feature
π§© Feature or Module Name
bs.hitbox, bs.move, bs.raycast
π Description
Refactor move and raycast to accept a custom callback that returns a shape hitbox based on the block being processed. This would replace the current hitbox_type parameter and offer more flexibility.
We can provide a set of built-in callbacks (e.g. in the hitbox module), including variants that correctly handle fluids and waterlogged blocks.
This change will:
- Make the system more modular and extensible
- Improve support for edge cases like partial or waterlogged blocks (and fix Add hitbox shapes for intangible blocksΒ #462)
- Allow users to define custom hitbox behavior as needed
Metadata
Metadata
Assignees
Labels
module: bs.hitboxModule hitbox updatesModule hitbox updatesmodule: bs.moveModule move updatesModule move updatesmodule: bs.raycastModule raycast updatesModule raycast updates⨠FeatureNew feature requestNew feature request