mojira.dev
MCPE-173672

If a player gets wedged between two not-full blocks pushed by pistons, the player will be pulled behind one of the pistons when they retract

Like the title says, pistons won't push players out of the way near pressure plates. Instead, the player gets teleported behind the pistons. (The piston the player gets teleported behind seems random.)
Steps to reproduce

  1. Build a 1x2/2x2 set of pistons, deactivated by a pressure plate.

  2. Activate the pressure plate.

  3. Stand between the pistons while they are open.

What should happen:

The player should be pushed out of the way of the pistons.

What actually happens:

The player gets teleported behind the pistons.

Watch the video I've attached to see the bug (ignore the watermark, I had to shorten the video to meet the size requirements.)

 

Linked issues

Attachments

Comments 11

In the setup shown in the video, the game probably does not move the player to the side because the pressure plates are made of “solidBlocking” material. It ought to check for actual collision.

This also seems to happen if I sprint towards the pistons if I'm at the side of the hallway.

[media]

Ah OK, I'll change the title to better reflect that.

After testing this and looking more closely at your video, the issue is not what I guessed earlier. What is actually happening is that you do get pushed out onto the pressure plate, but the glass door shuts while you are still being pushed out. For a brief moment you are partly inside the glass and partly on the pressure plate. In this situation you trigger the pressure plate again and cause the door to open, which makes the glass retract while you are still partially inside of it. The glass pulls you along with it.

This might be considered a design issue with your door rather than a bug in the game. It could be considered a bug that the glass does not push you out to the side instantly before it retracts again, or it could be a bug that you get pulled along with the retracting block (likely related to MCPE-60483), or the developers may say the push-out and piston mechanics are working as intended and you 'll need to design around it. I am not sure, so I will confirm the report and pass it along.

I've also restored your original summary with a slight alteration since this is a fairly specific case.

I also used this design in older versions, and they would work fine then.

1 more comments

I just checked, and this happens with any design, as long as the blocks wedging you are glass panes.

After testing this again, I noticed that the player can also get teleported to the side of the pistons. Not sure if that's important, but I figured I should mention it just in case.

I checked, and this can happen with any block, as long as it isn't a full block.

[media][media][media]

Just tested it, this happens in 1.20.30.

I can attribute this to the "gravity well" that is created when the player is already in the block being moved.

minecraft_mood

(Unassigned)

1085643

Confirmed

Multiple

Android 12

collisions

1.20.12 Hotfix, 1.20.30

Retrieved