Botania

Botania

133M Downloads

Spreader partial block targeting inconsistent

natedogith1 opened this issue ยท 1 comments

commented

Mod Loader

Forge

Minecraft Version

1.16.5

Botania version

1.16.5-420.2

Modloader version

Forge: 36.2.20

Modpack info

No response

The latest.log file

N/A

Issue description

When targeting a spreader at a bottom half slab, it targets the center of the slab; but when targeting a top half slab, it targets the center of the block space. When targeting a wall skull, the east-facing skull has it's center targeted, while the others have the center of the block space targeted.

Steps to reproduce

  1. Have a top slab and bottom slab next to a spreader and at the same height
  2. Have wand of forest in bind mode
  3. shift-right-click spreader
  4. shift-right-click bottom slab
  5. notice spreader tilts down to point at center of slab
  6. shift-right-click spreader
  7. shift-right-click top slab
  8. notice spreader remains untilted

Other information

2022-02-11_00 29 24
2022-02-11_00 25 30

commented

The current behavior uses the center point of the block space if it is contained by the hitbox. For blocks where one of the walls or edges lies on the center point, it does not count as contained if it lies on the larger coordinate.

I guess this behavior doesn't quite make sense and would be good to change.