Update 1.0
This update is a complete recode of skNoise, bringing in a new way to handle generators, more ways to edit a generator and its values
Generators are now actually an object compared to constructing the entire generator through one line.
You can save a generator to a variable now as well!
Here's a quick example of creating a new generator, editing some values, and using it:
Alongside this new format for generators, there's also a new type of generator, which is the Value generator.Code (Text):
command /noise: trigger: set {_gen} to new simplex generator with seed 42069 set frequency of {_gen} to 0.01 # Essentially a zoom value set {_value} to abs(value of {_gen} at player) if {_value} < 0.5: set block at player to black concrete else: set block at player to white concrete
This generator allows you to essentially create a seeded random number generator, for example:
You can also do a lot more to Cellular (Voronoi) generators, such as setting its jitter (how the points are spread), return type, and changing the distance function used.Code (Text):
command /random: trigger: set {_g} to new value generator with seed 1 set frequency of {_g} to 1 # Setting to 1 makes it so that each value obtained from a different location, is completely different set {_val} to abs(value of {_g} at player) send "Random Number: %{_val}%"
Here's a quick example of how you'd get the cell values now:
And yes, the average expression still existsCode (Text):
command /cellvalue: trigger: set {_g} to new voronoi generator with seed 1 set voronoi return type of {_g} to CellValue set {_val} to abs(value of {_g} at player) send "Cell Value: %{_val}%"![]()
-
Welcome to skUnity!
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon SKNoise | The Addon to Generation 1.0
The Addon That Includes Noise! (No, not sound.)