FramedBlocks

FramedBlocks

45M Downloads

How could I use World Edit with FramedBlocks ?

Axelouuu-dev opened this issue ยท 1 comments

commented

Hello !

I'd like to know if it possible to use //set command from WorldEdit to create framed block like double panel with two blocks into it ?

commented

Unfortunately the documentation of WorldEdit seems to be nonexistent, so I have no way to check if they have any special handling for BlockEntity data.

For the /setblock command from vanilla Minecraft the command would look like this for a single block:
/setblock -356 63 -260 framedblocks:framed_cube{camo_state:{Name:"minecraft:polished_granite"}, camo_stack:{Name:"minecraft:polished_granite"}}
and like this for a double block:
/setblock -356 63 -260 framedblocks:framed_double_panel{camo_state:{Name:"minecraft:polished_granite"}, camo_state_two:{Name:"minecraft:polished_diorite"}, camo_stack:{Name:"minecraft:polished_granite"}, camo_stack_two:{Name:"minecraft:polished_diorite"}}.
The first one would place a Framed Cube with Polished Granite as the camo.
The second one would place a Framed Double Panel with Polished Granite and Polished Diorite as the camos.
If you need to rotate the block, then you also have to specify the facing property in square brackets between the block name and the first curly bracket.

Do note though that for a few blocks, especially the double blocks, you will run into issues with the character limit of the ingame chat. If you don't need the item to be dropped when you click the Framed Block with a Framed Hammer, then you can remove the camo_stack and camo_stack_two parts from the command. This should allow you to also place double blocks with most other blocks as camo.