TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Replace Quern handle interaction checking with a raytrace on the handle bounding box

drhaber opened this issue ยท 0 comments

commented

The quern handle hitbox is currently the following face area:
image
which leads to much frustration when trying to interact with the handle. Instead, it should attempt to do a raytrace with just the handle hitbox, a. la. bloomery interaction, to better mimic the appearance of what is actually happening.

Relavant:

if (facing == EnumFacing.UP && hitX > 0.2f && hitX < 0.4f && hitZ > 0.2f && hitZ < 0.4f && hitY >= 0.875)