Skip to content

FastEdit 1.3.2

Latest

Choose a tag to compare

@Wyze3306 Wyze3306 released this 04 Oct 09:05

Undo works again on PNX 3.0.5, //paste learns to fill only the empty space, and edits no longer leave invisible water behind.

Edits are back in the undo history (PNX 3.0.5)

PNX 3.0.5 replaced UpdateSubChunkBlocksPacket.setChunkX/Y/Z with a single setSubChunkBlockPosition(Vector3i). FastEdit 1.3.x still called the old setters, so every block of an edit threw NoSuchMethodError while its update packet was being built. The block itself was already written server-side, and the chunk resend made the edit show up on clients, but it was counted as dropped and left out of the history: //undo could not take it back.

The packet is now built with the new API. This version requires PNX 3.0.5 or later (stable 3.0.5 / protocol 2193); stay on 1.3.0 for older servers.

//paste -onlyair

-noair looks at the clipboard. -onlyair looks at the world: it only writes where the destination block is air. Anything already standing there wins, so a schematic dropped on a hill fills the empty space around it and leaves the terrain, and any build it overlaps, untouched.

//paste -onlyair             paste only into air, never touch an existing block
//paste -noair -onlyair      same thing, flags combine in any order

It implies -noair, since writing air into air changes nothing. Skipped blocks are not in the undo step, and the "pasted N blocks" count is what actually landed.

The mask now applies to //brush clipboard too, so //mask #air on a clipboard brush stamps the clip into the empty space only: the shovel version of //paste -onlyair.

No more invisible water

Bedrock blocks have a second layer, where waterlogging lives. An edit only rewrote layer 0, so //set stone over a lake left the water in layer 1: invisible on the client, but still swimmable. Every edit now writes layer 1 as well (cleared unless the pattern asks for something there) and sends it in the packet's extraBlocks. Undo restores the layer 1 it overwrote, redo replays it.


No change to selections, clipboard format or schematics.