FiguraMC / Figura

Extensively customize your character with Figura!
https://modrinth.com/mod/figura
GNU Lesser General Public License v2.1
248 stars 44 forks source link

*raycasting* #131

Closed KitCat962 closed 11 months ago

KitCat962 commented 11 months ago

Moves raycasting functions to it's own RaycastAPI so that we can do predicate. raycastBlock has been renamed to block and now takes in a BlockRaycastType and FluidRaycastType raycastEntity has been renamed to entity and now takes in a predicate function with a single Entity argument and returns a boolean. Controls which entities are valid returns when raycasting

adds the BlockRaycastType and FluidRaycastType enums to the docs.

UnlikePaladin commented 11 months ago

Looks good to me!