mojira.dev
MC-90594

Player can stop sneaking/gliding without space to stand up

The bug

You can stop sneaking even when there isn't space for your head when standing up.

Affected situations

Entities with solid collision box

You can still stop sneaking if there is an entity with solid collision box, like a shulker or boat above you.

/summon armor_stand ~1 ~0.2 ~ {NoGravity:1b,Passengers:[{id:"shulker",NoAI:1b}]}
/summon armor_stand ~1 ~0.2 ~ {NoGravity:1b,Passengers:[{id:"boat"}]}

Player model for blocks

This bug was partwise fixed for blocks by not enlarging the hitbox if there is no space. The problem is that the player model stops sneaking anyways.

Related issues

MC-90655 Flying Through Blocks In Creative Mode. MC-90678 Pass throughable Ceiling MC-90739 Elytra suffocation. MC-90961 1.9 bug for levitation MC-90975 Sneaking while levitating clips through blocks. MC-91076 Clipping through blocks while flying MC-91228 Shift while levitation lets you fly through blocks MC-91296 Elytra Walk Into Blocks MC-91349 Wallbug MC-91450 Bug The End City MC-91588 Ceiling clipping MC-91627 Flight Bug (Pressing Shift) MC-91846 Player can fly through solid blocks MC-91896 Trought Blocks - 15w44b MC-91955 Passing through blocks by sneaking MC-92253 Trought Blocks - 15w45a MC-92350 Minecraft Bug: Player glitches in block and will get damaged. MC-92397 Phase through blocks in creative mode MC-92424 Pass through roofs MC-92481 Bug through block MC-92528 Sneaking while levitating pushes you through blocks. MC-92617 Elytra hitbox causes player to walk on one-block high spaces MC-92677 Pass through ceiling in creative by spamming shift! MC-92737 Fly through blocks MC-92851 Using flying and levitation to phase through multipul layers of blocks. MC-92986 Pressing shift with levitation can make player suffocate in roof/get above roof MC-93067 i sneaked and unsneaked and i gliched through the seiling MC-93108 flying through blocks when stopped shifting in mid-air MC-93115 shulker levitation passing through ceiling MC-93154 sneaking while flying up lets you glitch through ceiling MC-93268 Xray/Block Glitch With Ladders/Vines and Levitation Status Effect MC-93376 can go through blocks with levitation MC-93438 Flying trough blocks in creative mode MC-93442 Levitation MC-93469 Levitation glitch MC-93499 Creative Mode block clipping by sneaking while flying MC-93544 Flying Through Block Glitch MC-93858 Phase Through Blocks [CREATIVE MODE] MC-94253 Can glitch out of ceiling with levitation and shifting MC-94443 Sneaking while flying noclip MC-94482 Phase Glitch MC-94509 Creative flying mode sneaking bug MC-94605 You can glitch through blocks above you MC-94719 Levitation effect wall bugging MC-94833 levitation MC-94924 Ladder Suffocation Damage MC-94988 Block glitch MC-95106 Creative flying bug MC-95300 Suffication jump shift glitch MC-95923 Ability to go through blocks in creative MC-95954 I fly through blocks [16w03a] MC-96124 Holding space and spamming shift glitches up through block MC-97750 Glitch thru blocks MC-107114 Elytra bug MC-120722 Elytra Tree Glitch MC-124323 Sneak + Fly minor bug MC-132479 Player's model can change to a standing position in areas only accessible via sneaking MC-133750 Crawling glitch without slabs MC-139384 lantern head glitch MC-141115 Ladder X-ray MC-146651 Player can fly through half slabs

Attachments

Comments

migrated

[^Minecraft 1.9-pre2 =22_2_2016= 17_27_59 [PM].mp4]

rydian

Tried it and it worked even with normal Levitation I, through a roof two blocks thick.

migrated

Caused by the player's hitbox being lower when sneaking.

migrated

Confirmed for 15w45a

migrated

Also affects flying.

migrated

@@unknown Flying=gliding

migrated

Can confirm in 15w47c

1. Gamemode 1
2. Fly against the ceiling
3. Keep pressing spacebar and press shift
4. Let go of shift (Make sure you did not stop pressing spacebar) and glitch trough ceiling.

Also works for survival mode on ladders with pressing ''W'' Instead of space

No levetation is needed

migrated

Can somebody explain why this is Works as Intended?

migrated

This shouldn't be Works as Intended, this could be a map breaking bug. I'm currently making an adventure map where there is levitation parkour, but the player can easily get out of the room with this.

migrated

Exactly, it can break adventure maps and it can be exploited on normal survival, especially multiplayer. This should not be a Works as Intended.

migrated

Affects 15w50a

Wait?! Works as intended?
Well... We have a new way to get to the top of the nether, now we need to know how to get back down without dying. Don't forget your obsidian and flint and steel!

migrated

@@unknown Hello... Can you hear me... I was wondering why this issue was marked as Works As Intended...

migrated

This is not a discussion forum. This ticket has been marked for review, there is no need to keep asking.

migrated

I'm not sure if the workers know this, but I believe the reason why you can do this now, because in the snapshots, sneaking has actually changed the player's hitbox, moving it slightly down when shifting, which makes sense, but moves it higher when standing. So when you're beneath a block while flying up or jumping up, shifting will make your hitbox a slight smaller, allowing the player to move up a little, but when standing up, your hitbox increases, allowing a small part of your hitbox to go inside the block, allowing you to phase through it.

migrated

Finally, thank you! @William Pai, that's exactly the reason. Maybe disable the ability to unsneak when hitbox would normally go through the block?

marcono1234

Cannot confirm fixed for 16w04a
With the provided setup the player takes suffocation damage

When the player has 3 layers of snow below him, he still stands up, only his hitbox is a little bit shorter

migrated

Cannot reproduce suffocation damage. Still considering it fixed.

chokoboy3

"With the provided setup the player takes suffocation damage"

Confirmed for 16w04a

My setup: http://imgur.com/EDVPzCi
Just go up to the top of the ladder and spam ship while pressing w.

migrated

Hmm. Can you still glitch through ceilings?

chokoboy3

No. But you do take suffocation damage.

migrated

Well, you are mashing your head into the ceiling.

marcono1234

However "When the player has 3 layers of snow below him, he still stands up, only his hitbox is a little bit shorter" is probably still a bug

migrated

most likely not, that's how @unknown decided to fix this, by just keeping the hitbox smaller until there's space for the full hitbox

marcono1234

But if it detects already that the hitbox cannot be larger why has the player then the default height?

marcono1234

So is this intended now or not?

migrated

The fix works fine for me

migrated

Wait wait wait, something important, please reopen this; In 1.9 pre-2, this is still fixed, however it's not fixed for the hitbox of shulkers!

migrated

@@unknown You mean if you have a shulker above your head?

migrated

Yes.

migrated

You're saying we are able to unsneak into shulkers?

migrated

I think the shukers are intended as it is (standing on top, sneaking and unsneaking), you kinda need to see shulkers as pistons in this case, they push you into the block.

migrated

@@unknown Yes
@@unknown, @unknown said it happens with a shulker above your head.
I added a demonstration video.

migrated

Still the same story, you should see them as a piston (the I pad refuses to load the mp4, so I can't watch it ATM), so the shulker just pushes itself into your head space

migrated

@@unknown That's not the problem. I used a shulker facing sideways, but you can still (always) unsneak into them, just like you could with blocks before that was fixed. I attached a lower-quality video.

migrated

@FVbico That still doesn't mean it shouldn't be fixed. Also, this is extra important, since you can only get levitation when there is a Shulker nearby.

migrated

now that I can finally view the mp4, I understand what you both mean, thanks

FaRo1

Confirmed for 1.9.4, just reproduced on a ladder with a block above.

bemoty

Can confirm for MC 1.12.1.

migrated

Seems to be fixed? Can anyone confirm this?

FaRo1

No. I just tried to reproduce this for the first time: First I was pushed out. Then I stood more in the middle and was able to stand up and be inside the shulker and boat.

migrated

@unknown Oh yeah forgot the shulker thing haha

muzikbike

Affects 1.13-pre6

muzikbike

Affects 1.13-pre7

muzikbike

Affects full release of 1.13.1, relates to MC-129863

muzikbike

Affects 1.13.2, 18w47a and 18w47b. Currently blocks MC-129863.

muzikbike

Affects 18w50a, can I request ownership of this ticket?

Relates to MC-128472, MC-131116

migrated

migrated

Confirmed

(Unassigned)

head, hitbox, shulker, sneak, sneaking

Minecraft 15w42a, Minecraft 15w43a, Minecraft 15w43b, Minecraft 15w43c, Minecraft 15w44a, ..., Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a

Minecraft 16w04a, Minecraft 19w14a

Retrieved