BlockHorizons / BlockSniper

An advanced (brush) world editing plugin for PocketMine-MP
https://poggit.pmmp.io/p/BlockSniper/
Apache License 2.0
76 stars 41 forks source link

Visualization of selection/clipboard #128

Open Frago9876543210 opened 4 years ago

Frago9876543210 commented 4 years ago

Description

This could also be useful for pinpointing the area. BTW, server can read offset of structure blocks using StructureBlockUpdatePacket. i ii

Frago9876543210 commented 4 years ago

Also why not to implement structure blocks format to use it as schematics?

Sandertv commented 4 years ago

This is not a viable way to solve the boundaries, as it will turn invisible when the structure block is out of the vision field of the player. I have been looking at other options but there are drawbacks for most approaches.

As for the structure block format, structure block saves are not yet in the main release of Bedrock edition, so I will consider implementing them once they are.

Frago9876543210 commented 4 years ago

@Sandertv

This is not a viable way to solve the boundaries, as it will turn invisible when the structure block is out of the vision field of the player. I have been looking at other options but there are drawbacks for most approaches.

Check this gist: https://gist.github.com/Frago9876543210/f1a79cfc09405ec06234f29e67ec0dfc The only drawback is the creation of 8 blocks of structures for true visualization.

Sandertv commented 4 years ago

The problem is that the outlines are not rendered when you're not looking at the structure block tile, meaning it's practically useless for larger selections. It also only allows rectangular shapes while I would like to be able to do different shapes too.