WorldEdit Helpers
This Client-Side Mod provides a few special commands for WorldEdit utilizing //luatransform
.
This CSM is completely safe if you aren't stupid.
Commands:
grass
rs
(Smart Replace)stk
(Smart Stack)
Inputs:
modname:nodename
searchterm
Any command requiring an input (rs
and stk
) may take a node name or search term.
If the input contains :
it will treat it as a node name and require an exact match.
Anything without :
will be treated as a search term.
Usage:
grass
:
Populates area on default:dirt_with_grass
with grass.
.grass <scarcity>
<scarcity>
being a number. Higher number means lower chance. Default is 10
.
Example: .grass 30
This would populate the area with a very low amount of grass.
rs
:
"Smart //replace
". Replaces multiple inputs with a node.
.rs <node to replace> <...> <node to replace with>
Example: .rs default:stone dirt air
This replaces all default:stone
nodes and nodes containing dirt
in the name with air
.
Example 2: .rs moretrees air
This handy snippet replaces anything containing moretrees
with air. Handy for getting rid of trees from the moretrees mod.
stk
:
"Smart //stack
". Stacks multiple inputs along an axis by n amount.
.stk <node to stack> <...> <axis> <amount
Example: .stk default:dirt sand y 5
This stacks all default:dirt
nodes and nodes containing sand
in the name along the Y
axis 5
times.
Why this CSM is not harmful:
This mod executes the command //luatransform
, part of the WorldEdit mod.
This means attempting to invoke a command without the right priveleges will simply result in an "Insufficient priveleges." error.
TL;DR This mod is only worth your time if you have the ability to use WorldEdit.