mojira.dev
MC-82010

Moving blocks do not tick past the world border, causing them to stay offset when pushed by a piston

The bug

Moving_Block do not tick past the worldborder causing them to stay offset / create a ghost block when pushed by a piston.

This seems like a regression of MC-54366

Pistons still try to push blocks through the worldborder, however they stay at the position they were as some kind of "ghost" blocks (very likely the piston_extension block, which the client still renders, however it doesn't exist anymore, /testforblock returns air). After reloading this area they are gone.

Code analysis

Based on 1.11 decompiled using MCP 9.35 rc1

The method net.minecraft.block.BlockPistonBase.canPush(IBlockState, World, BlockPos, EnumFacing, boolean) only tests if the position of the block to move is inside the worldborder, but not if the new position is inside it as well.

The reason why the piston_extension tile entity is not removed is because the method net.minecraft.world.World.updateEntities() removes only invalid tile entities inside the worldborder.

Related issues

MC-156127 Phantom blocks MC-74543 Ghost Blocks MC-74702 Block and sticky piston fuse at world border MC-82327 Blocks glitch screen if pushed by piston (world border) MC-92573 Border Bug? MC-95342 Worldborder Causing 2 blocks in the same block space MC-110117 Pisto extends in piston and ghost block MC-110570 block intro block world border MC-127654 A block bug MC-130472 Piston and block Bug. MC-134764 Blocks Out Of World Border MC-145224 The block became air MC-156511 Block doesn't dissapear when pushed outside the world border MC-158965 Ghost blocks/overlaping blocks created in world border MC-160953 Piston pushes block into world border and glitches texture MC-160955 Block can't be destoryed after pushing piston through world border MC-180218 You can Push a block through the Worldborder MC-194704 Ghost block creation on the world border MC-195972 At the word border, you can push block into block, MC-197685 Piston with blocks bugged on world border barrier. MC-197976 Ghost blocks made when pushing a block into the world border with a piston. MC-198627 You can push block in block by piston near to the world border MC-220117 Z fighting with ghost blocks MC-220717 Piston Head Glitch MC-223410 2 blocks combine with each other MC-228993 Block gets over world border and not back with sticky piston MC-229021 Block moves in world border MC-229471 Piston pushes blocks bugged through the worldborder MC-231868 two variant double slab in world border MC-232035 This at the worldborder and and everything is glitched gosh... MC-232202 Immortal Slab at world border (Two different slabs on one block) MC-237259 When a piston pushes against a slab at the worldborder, it will create a double slab. MC-237286 Ghost block when using piston to push solid block into a non-solid block at border. MC-237928 Half-Blocks error MC-239956 Lightning Rod lost it hitbox with world border. [FR] MC-266982 Chest in a glass MC-267009 Blocks can be merged and ghost blocks can be created with pistons on worldborder MC-268308 Block can't be destroyed after pushed against world border by a piston MC-269923 Semi-blocks pushed by pistons at the border MC-271328 Piston glitches into shulker when pushing it into the world border. MC-271329 Block outline disappears after pushing block next/outside world border using piston MC-280495 if yow "push" a block with a piston by the yorld border the block glitches out causing the piston head to glitch out really bad ant the block then cant be broken but also can be stood onn

Attachments

Comments

migrated
[media][media][media][media]
migrated

Pistons fail pushing blocks trough worldborder

Pistons can somehow still push blocks trough the worldborder

Your summary and description contradict each other.

marcono1234

I changed the description

migrated

Confirmed.

SunCat

Confirmed for 1.9

SunCat

Still in 16w15b

migrated

Confirmed for 1.13.2-pre2.

ZeNico13

Cannot reproduce in 1.14 pre-5. It seems to be patched.

[media]
Silicon42

@ZeNico13

From the looks of your video, your worldborder is not perfectly aligned to a block boundary, while the worldborder may not always visually line up perfectly with the edges of blocks, any blocks that it partially includes are treated as being within the worldborder. This means that you weren't actually pushing the blocks outside the worldborder.

migrated

Confirmed to still be in 1.14.4

Not sure if it's in the 1.15 snapshots

Avoma

Can confirm in 20w51a.

Jack McKalling

Ghost blocks also occur adjacent to the worldborder, if another block is pushed into them but then removed. They will remain visual as long as the world is loaded, and visually disappear but still remain when reloaded. Only upon moving the worldborder the block will become valid again.

This also applies to slabs and stairs being pushed into each other, producing visual double slabs/stairs from different, overlapping materials.

migrated

Not sure if this helps, but the block will disappear if tnt tries to explode it.

 

Just saying.

Former user

It is not a ghost blocks. It is a "moving_block". When a piston push a block, it creates a "moving block" outside of the worldborder.

migrated

Can confirm in 1.17.1

migrated

That was already marked as affected.

PR0CESS

I would like to ask that we rename this bug report from: Pistons fail pushing blocks through worldborder, creating ghost blocks to Moving_Block's do not tick past the world border causing them to stay offset when pushed by a piston

Cause the current title is completely inaccurate

marcono1234

(Unassigned)

Confirmed

Platform

Low

Block states, Rendering

moving_piston, piston, world-border

Minecraft 1.8.7, Minecraft 15w47c, Minecraft 15w51b, Minecraft 1.9, Minecraft 1.9.2, ..., 1.20.4, 24w12a, 1.20.6, 24w18a, 1.21.1

Retrieved