The following //ezspline subcommands feature three very powerful but more complex spline shapes with effectively limitless customizability.
//ezspline noise
Noise Spline
//ezsp noise <pattern>[noise][depth]
Generates a noise-based spline along the selected positions.
<Pattern>:
Specifies the block(s) the spline is made out of.
[noise] (Default: "Perlin(Freq:2,z:0.5)"):
The noise that should be embedded along the spline path.
[depth] (Default: 0.7):
How deep the noise should cut into the cylinder-shaped spline. Depths approaching 0 approach the original cylinder-shaped spline, 0.5 means the noise may reach half the radius deep, and 1.0 means the full radius, reaching the center. Larger than 1.0 will result in a choppy look.
Advanced parameter for nerds. Ignore if this above looks scary.
This expression implements the functionality of the noise cutting into a cylinder at a certain relative <depth>. . If you really want to, you can come up with a different expression here to get a different result. If you don't need custom noises just use //ezspline expression instead though.
Input parameters are x,y,z,n,d whereby x,y,z are assigned like in , n is the evaluation of the given <noise> at the coordinates x,y,z and d is the given <depth> parameter.
An alternative expression could be:
r=sqrt(x*x+y*y);(r<1&&n>0.5)*max(n,0.01): If you only want the noise to be restricted to a cylinder shape
The remaining arguments are outlined on thesubpage.
Generates a spline shaped by the given WorldEdit expression along the selected positions.
<Palette>:
Specifies the block palette.
[-z]:
Without setting this flag, the domain of the z-axis is 0 to the length of the spline divided by the radius. You may set this flag to normalize the z-Axis, that runs along the path of the spline, to the [-1,1] domain.
[-o]:
By default, expression output maps >0..1 to the palette. Use this flag to instead map the output to whole numbers.
<expression...>:
. Input variables are
-1 ≤ x ≤ 1
-1 ≤ y ≤ 1
0 ≤ z ≤ L, whereby L is the length of the spline divided by its radius.
or -1 ≤ z ≤ 1, if you're using the -z flag.
Output is either a normalized palette index (0,1] or if using the -o flag (0,P] whereby P is the number of blocks in the palette. Note that <=0 means not placing any block.
The remaining arguments are outlined on thesubpage.
Embeds a structure along the path defined by the selected convex region.
<structure>:
[-z]:
Normalizes the Z-Axis, which results in exactly one structure being stretched out throughout the entire length of the path.
The structure will be placed in its Z-direction facing along the path. Multiple instances will be repeated one after another as often as its bounding box fits, unless you use -z, in which case one instance of the structure will be stretched across the whole length of the path.