Create: Copycats+

Create: Copycats+

5M Downloads

Copycat trapdoors ignore sneaking player's interaction

VladisCrafter opened this issue · 6 comments

commented

...even if sneaking is NOT caused by holding shift.

Expected behavior: they should be interactable no matter what position the player is in. Unless holding shift or any other key binded to "crouch". Like vanilla trapdoors are.

CopycatTrapdoor_Bug.mp4
commented

P.S. I just realized that framed glass trapdoors from base Create do not have this issue and look almost the same. So I'll be using them in this case.

Issue priority level: probably not high :]

commented

isn't this caused by the toggle connected textures feature? its probably better this way so we can toggle connected textures without opening the trapdoor

commented

@theTaeco "toggle connected textures" should be triggered by R-click while sneaking. While YOU are actually sneaking and NOT when something is squishing your body to the sneaking state. As I've said, I wasn't pressing shift, so even if "toggle connected textures" was actually triggered (there was no way I could even notice), then it's still wrong behavior!

commented

Actually the way things check if you pressing the sneak button is by checking if your pose is crouching. Which means that while you were under that trapdoor your pose was forced to be crouching and therefore were considered to be pressing the sneak button.
I do have to say that the toggle connected textures isnt on the trapdoor though as it doesn't have connected textures

commented

@Bennyboy1695 then why am I able to interact with vanilla and base Create trapdoors normally? 🤨

commented

There is a check for whether the player is holding shift. Using that check instead of isCrouching fixes the issue.