\\regenerateblocks
Regenerates blocks in the selected area based on the surrounding blocks.
\\regenerateblocks| Dflt USM Sec Lvl: | WorldEdit |
|---|---|
| Dflt Required Tags: | canUseChatCommands |
| Categories: | system, world, server, worldedit |
| Version: | 2.0.0 |
| Undo Supported: | Yes |
| Functional: | Yes |
| Deprecated: | No |
Syntax ​
\\regenerateblocks [-isabd] [radiusAroundAreaToUseToDetermineGeneratedBlockType: float[?=5]] [verticalDistancePriority: float[?=1.5]] [horizontalDistancePriority: float[?=1.2]] [randomization: float[?=0.2]] [airPriority: float[?=0.5]]
Arguments ​
[-isabd]: flags
A flags parameter.
Here are what each of the flags do:
i: Makes it so the command does not ignore air blocks when looking at the surrounding blocks to determine what type of block to generate.
s: Allows the command to replace non-air blocks.
a: Causes surrounding air blocks that are in the section that has yet to be generated to not affect the type of blocks generated.
b: Causes all surrounding blocks that are in the section that has yet to be generated to not affect the type of blocks generated.
d: Stops the command from prioritizing surrounding blocks that are closer to the block being generated when determining what type of block to generate.
[radiusAroundAreaToUseToDetermineGeneratedBlockType: float[?=5]]: float
The area around each block that the command should look at the blocks to determine what type of block to generate.
[verticalDistancePriority: float[?=1.5]]: float
The amount that will be multiplied by the vertical distance between the blocks to determine the amount to divide the weight of the block by.
Setting it to 0 will disable vertical distance priority.
Only aplies when the -d flag is NOT included.
Defaults to 1.5.
[horizontalDistancePriority: float[?=1.2]]: float
The amount that will be multiplied by the horizontal distance between the blocks to determine the amount to divide the weight of the block by.
Setting it to 0 will disable horizontal distance priority.
Only aplies when the -d flag is NOT included.
Defaults to 1.2.
[randomization: float[?=0.2]]: float
The maximum amount by which to multiply or divide weights of the surrounding block permutations to randomize the generated block slightly.
It will add 1 to the randomization amount before calculating, so 0.2 would result in the weights being multiplied or divided by between 1 and 1.2.
Defaults to 0.2.
[airPriority: float[?=0.5]]: float
The amount to multiply by the weight of air.
Only applies when the -i flag is included.
Defaults to 0.5.
Result ​
| Command | Trigger | Result |
|---|---|---|
Any | The command is incomplete, or any argument is not specified correctly. | Unparseable |
| Otherwise | Successful | |
History ​
| Debug Sticks | |||||||
|---|---|---|---|---|---|---|---|
| v1.28.0 | release | Added | |||||
| v1.31.0 | v1.31.0-preview.20+BUILD.1 | Changed the syntax of the command from | |||||
