TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Ladders placement only checks hitbox with ladder state facing=north

DavidTriphon opened this issue ยท 1 comments

commented

Describe the bug
Make sure to include:

  1. What did you expect to happen?

I tried to place a ladder in a block I was in.

Sometimes it didn't work. Sometimes it did.

  1. What actually happened instead (i.e. what was the bug)

The ladder wouldn't place if I was against the south edge of the block the ladder was in.
The check for if the player hitbox is intersecting with the placement block hitbox seems to only check with the hitbox of the ladder as if it were placed on the south wall, even if it was being placed against the north wall. This leads to other weird cases like being able to place a ladder against the north wall while you are standing in the space that the ladder hitbox fills.

  1. If it was a crash, upload the full log file (latest.log)

no crash

  1. If they would help to explain the issue, include screenshots

no screenshots

To Reproduce

  1. dig a 2x2 hole and stand in it.
  2. push your player body against the wall in the southern direction.
  3. Attempt to place ladders on any wall in the hole. You can't.
  4. Push your body against the northern wall of the hole.
  5. Attempt to place ladders on any wall. If there isn't already a ladder there, you will succeed.

Meta Info

  • TFC Version: 0.23.8.75
  • Were any other mods included? Can you reproduce it without these other mods?

JEI, JMap, WAILA

  • If necessary, what other mods (including versions) MUST be present to experience the bug?

did not test

commented