Scissors-Website/public/javadoc/1.17.1/org/bukkit/util/noise/SimplexNoiseGenerator.html
2022-07-05 18:33:56 -05:00

638 lines
40 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>SimplexNoiseGenerator (Scissors-API 1.17.1-R0.1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.bukkit.util.noise, class: SimplexNoiseGenerator">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.bukkit.util.noise</a></div>
<h1 title="Class SimplexNoiseGenerator" class="title">Class SimplexNoiseGenerator</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance"><a href="NoiseGenerator.html" title="class in org.bukkit.util.noise">org.bukkit.util.noise.NoiseGenerator</a>
<div class="inheritance"><a href="PerlinNoiseGenerator.html" title="class in org.bukkit.util.noise">org.bukkit.util.noise.PerlinNoiseGenerator</a>
<div class="inheritance">org.bukkit.util.noise.SimplexNoiseGenerator</div>
</div>
</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">SimplexNoiseGenerator</span>
<span class="extends-implements">extends <a href="PerlinNoiseGenerator.html" title="class in org.bukkit.util.noise">PerlinNoiseGenerator</a></span></div>
<div class="block">Generates simplex-based noise.
<p>
This is a modified version of the freely published version in the paper by
Stefan Gustavson at
<a href="http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf">
http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf</a></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected static final double</code></div>
<div class="col-second even-row-color"><code><a href="#F2" class="member-name-link">F2</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected static final double</code></div>
<div class="col-second odd-row-color"><code><a href="#F3" class="member-name-link">F3</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected static final double</code></div>
<div class="col-second even-row-color"><code><a href="#F4" class="member-name-link">F4</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected static final double</code></div>
<div class="col-second odd-row-color"><code><a href="#G2" class="member-name-link">G2</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected static final double</code></div>
<div class="col-second even-row-color"><code><a href="#G22" class="member-name-link">G22</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected static final double</code></div>
<div class="col-second odd-row-color"><code><a href="#G3" class="member-name-link">G3</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected static final double</code></div>
<div class="col-second even-row-color"><code><a href="#G4" class="member-name-link">G4</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected static final double</code></div>
<div class="col-second odd-row-color"><code><a href="#G42" class="member-name-link">G42</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected static final double</code></div>
<div class="col-second even-row-color"><code><a href="#G43" class="member-name-link">G43</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected static final double</code></div>
<div class="col-second odd-row-color"><code><a href="#G44" class="member-name-link">G44</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected static final int[][]</code></div>
<div class="col-second even-row-color"><code><a href="#grad4" class="member-name-link">grad4</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected double</code></div>
<div class="col-second odd-row-color"><code><a href="#offsetW" class="member-name-link">offsetW</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected static final int[][]</code></div>
<div class="col-second even-row-color"><code><a href="#simplex" class="member-name-link">simplex</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>protected static final double</code></div>
<div class="col-second odd-row-color"><code><a href="#SQRT_3" class="member-name-link">SQRT_3</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>protected static final double</code></div>
<div class="col-second even-row-color"><code><a href="#SQRT_5" class="member-name-link">SQRT_5</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.bukkit.util.noise.PerlinNoiseGenerator">Fields inherited from class&nbsp;org.bukkit.util.noise.<a href="PerlinNoiseGenerator.html" title="class in org.bukkit.util.noise">PerlinNoiseGenerator</a></h3>
<code><a href="PerlinNoiseGenerator.html#grad3">grad3</a></code></div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.bukkit.util.noise.NoiseGenerator">Fields inherited from class&nbsp;org.bukkit.util.noise.<a href="NoiseGenerator.html" title="class in org.bukkit.util.noise">NoiseGenerator</a></h3>
<code><a href="NoiseGenerator.html#offsetX">offsetX</a>, <a href="NoiseGenerator.html#offsetY">offsetY</a>, <a href="NoiseGenerator.html#offsetZ">offsetZ</a>, <a href="NoiseGenerator.html#perm">perm</a></code></div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected </code></div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">SimplexNoiseGenerator</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(long)" class="member-name-link">SimplexNoiseGenerator</a><wbr>(long&nbsp;seed)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a seeded simplex noise generator for the given seed</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.util.Random)" class="member-name-link">SimplexNoiseGenerator</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Random.html" title="class or interface in java.util" class="external-link">Random</a>&nbsp;rand)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a seeded simplex noise generator with the given Random</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.bukkit.World)" class="member-name-link">SimplexNoiseGenerator</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../World.html" title="interface in org.bukkit">World</a>&nbsp;world)</code></div>
<div class="col-last odd-row-color">
<div class="block">Creates a seeded simplex noise generator for the given world</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#dot(int%5B%5D,double,double)" class="member-name-link">dot</a><wbr>(@org.jetbrains.annotations.NotNull int[]&nbsp;g,
double&nbsp;x,
double&nbsp;y)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#dot(int%5B%5D,double,double,double)" class="member-name-link">dot</a><wbr>(@org.jetbrains.annotations.NotNull int[]&nbsp;g,
double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#dot(int%5B%5D,double,double,double,double)" class="member-name-link">dot</a><wbr>(@org.jetbrains.annotations.NotNull int[]&nbsp;g,
double&nbsp;x,
double&nbsp;y,
double&nbsp;z,
double&nbsp;w)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="SimplexNoiseGenerator.html" title="class in org.bukkit.util.noise">SimplexNoiseGenerator</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getInstance()" class="member-name-link">getInstance</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Gets the singleton unseeded instance of this generator</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getNoise(double)" class="member-name-link">getNoise</a><wbr>(double&nbsp;xin)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes and returns the 1D unseeded simplex noise for the given
coordinates in 1D space</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getNoise(double,double)" class="member-name-link">getNoise</a><wbr>(double&nbsp;xin,
double&nbsp;yin)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes and returns the 2D unseeded simplex noise for the given
coordinates in 2D space</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getNoise(double,double,double)" class="member-name-link">getNoise</a><wbr>(double&nbsp;xin,
double&nbsp;yin,
double&nbsp;zin)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes and returns the 3D unseeded simplex noise for the given
coordinates in 3D space</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getNoise(double,double,double,double)" class="member-name-link">getNoise</a><wbr>(double&nbsp;x,
double&nbsp;y,
double&nbsp;z,
double&nbsp;w)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes and returns the 4D simplex noise for the given coordinates in
4D space</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#noise(double,double)" class="member-name-link">noise</a><wbr>(double&nbsp;xin,
double&nbsp;yin)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Computes and returns the 2D noise for the given coordinates in 2D space</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#noise(double,double,double)" class="member-name-link">noise</a><wbr>(double&nbsp;xin,
double&nbsp;yin,
double&nbsp;zin)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Computes and returns the 3D noise for the given coordinates in 3D space</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#noise(double,double,double,double)" class="member-name-link">noise</a><wbr>(double&nbsp;x,
double&nbsp;y,
double&nbsp;z,
double&nbsp;w)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Computes and returns the 4D simplex noise for the given coordinates in
4D space</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.util.noise.PerlinNoiseGenerator">Methods inherited from class&nbsp;org.bukkit.util.noise.<a href="PerlinNoiseGenerator.html" title="class in org.bukkit.util.noise">PerlinNoiseGenerator</a></h3>
<code><a href="PerlinNoiseGenerator.html#getNoise(double,double,double,int,double,double)">getNoise</a>, <a href="PerlinNoiseGenerator.html#getNoise(double,double,int,double,double)">getNoise</a>, <a href="PerlinNoiseGenerator.html#getNoise(double,int,double,double)">getNoise</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.util.noise.NoiseGenerator">Methods inherited from class&nbsp;org.bukkit.util.noise.<a href="NoiseGenerator.html" title="class in org.bukkit.util.noise">NoiseGenerator</a></h3>
<code><a href="NoiseGenerator.html#fade(double)">fade</a>, <a href="NoiseGenerator.html#floor(double)">floor</a>, <a href="NoiseGenerator.html#grad(int,double,double,double)">grad</a>, <a href="NoiseGenerator.html#lerp(double,double,double)">lerp</a>, <a href="NoiseGenerator.html#noise(double)">noise</a>, <a href="NoiseGenerator.html#noise(double,double,double,int,double,double)">noise</a>, <a href="NoiseGenerator.html#noise(double,double,double,int,double,double,boolean)">noise</a>, <a href="NoiseGenerator.html#noise(double,double,int,double,double)">noise</a>, <a href="NoiseGenerator.html#noise(double,double,int,double,double,boolean)">noise</a>, <a href="NoiseGenerator.html#noise(double,int,double,double)">noise</a>, <a href="NoiseGenerator.html#noise(double,int,double,double,boolean)">noise</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="SQRT_3">
<h3>SQRT_3</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">SQRT_3</span></div>
</section>
</li>
<li>
<section class="detail" id="SQRT_5">
<h3>SQRT_5</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">SQRT_5</span></div>
</section>
</li>
<li>
<section class="detail" id="F2">
<h3>F2</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">F2</span></div>
</section>
</li>
<li>
<section class="detail" id="G2">
<h3>G2</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">G2</span></div>
</section>
</li>
<li>
<section class="detail" id="G22">
<h3>G22</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">G22</span></div>
</section>
</li>
<li>
<section class="detail" id="F3">
<h3>F3</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">F3</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../../constant-values.html#org.bukkit.util.noise.SimplexNoiseGenerator.F3">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="G3">
<h3>G3</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">G3</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../../constant-values.html#org.bukkit.util.noise.SimplexNoiseGenerator.G3">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="F4">
<h3>F4</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">F4</span></div>
</section>
</li>
<li>
<section class="detail" id="G4">
<h3>G4</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">G4</span></div>
</section>
</li>
<li>
<section class="detail" id="G42">
<h3>G42</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">G42</span></div>
</section>
</li>
<li>
<section class="detail" id="G43">
<h3>G43</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">G43</span></div>
</section>
</li>
<li>
<section class="detail" id="G44">
<h3>G44</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">G44</span></div>
</section>
</li>
<li>
<section class="detail" id="grad4">
<h3>grad4</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">int[][]</span>&nbsp;<span class="element-name">grad4</span></div>
</section>
</li>
<li>
<section class="detail" id="simplex">
<h3>simplex</h3>
<div class="member-signature"><span class="modifiers">protected static final</span>&nbsp;<span class="return-type">int[][]</span>&nbsp;<span class="element-name">simplex</span></div>
</section>
</li>
<li>
<section class="detail" id="offsetW">
<h3>offsetW</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">offsetW</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;()">
<h3>SimplexNoiseGenerator</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="element-name">SimplexNoiseGenerator</span>()</div>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.bukkit.World)">
<h3>SimplexNoiseGenerator</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">SimplexNoiseGenerator</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../World.html" title="interface in org.bukkit">World</a>&nbsp;world)</span></div>
<div class="block">Creates a seeded simplex noise generator for the given world</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>world</code> - World to construct this generator for</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(long)">
<h3>SimplexNoiseGenerator</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">SimplexNoiseGenerator</span><wbr><span class="parameters">(long&nbsp;seed)</span></div>
<div class="block">Creates a seeded simplex noise generator for the given seed</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>seed</code> - Seed to construct this generator for</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(java.util.Random)">
<h3>SimplexNoiseGenerator</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">SimplexNoiseGenerator</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Random.html" title="class or interface in java.util" class="external-link">Random</a>&nbsp;rand)</span></div>
<div class="block">Creates a seeded simplex noise generator with the given Random</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>rand</code> - Random to construct with</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="dot(int[],double,double)">
<h3>dot</h3>
<div class="member-signature"><span class="modifiers">protected static</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">dot</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
@org.jetbrains.annotations.NotNull int[]&nbsp;g,
double&nbsp;x,
double&nbsp;y)</span></div>
</section>
</li>
<li>
<section class="detail" id="dot(int[],double,double,double)">
<h3>dot</h3>
<div class="member-signature"><span class="modifiers">protected static</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">dot</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
@org.jetbrains.annotations.NotNull int[]&nbsp;g,
double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</span></div>
</section>
</li>
<li>
<section class="detail" id="dot(int[],double,double,double,double)">
<h3>dot</h3>
<div class="member-signature"><span class="modifiers">protected static</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">dot</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
@org.jetbrains.annotations.NotNull int[]&nbsp;g,
double&nbsp;x,
double&nbsp;y,
double&nbsp;z,
double&nbsp;w)</span></div>
</section>
</li>
<li>
<section class="detail" id="getNoise(double)">
<h3>getNoise</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getNoise</span><wbr><span class="parameters">(double&nbsp;xin)</span></div>
<div class="block">Computes and returns the 1D unseeded simplex noise for the given
coordinates in 1D space</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>xin</code> - X coordinate</dd>
<dt>Returns:</dt>
<dd>Noise at given location, from range -1 to 1</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNoise(double,double)">
<h3>getNoise</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getNoise</span><wbr><span class="parameters">(double&nbsp;xin,
double&nbsp;yin)</span></div>
<div class="block">Computes and returns the 2D unseeded simplex noise for the given
coordinates in 2D space</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>xin</code> - X coordinate</dd>
<dd><code>yin</code> - Y coordinate</dd>
<dt>Returns:</dt>
<dd>Noise at given location, from range -1 to 1</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNoise(double,double,double)">
<h3>getNoise</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getNoise</span><wbr><span class="parameters">(double&nbsp;xin,
double&nbsp;yin,
double&nbsp;zin)</span></div>
<div class="block">Computes and returns the 3D unseeded simplex noise for the given
coordinates in 3D space</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>xin</code> - X coordinate</dd>
<dd><code>yin</code> - Y coordinate</dd>
<dd><code>zin</code> - Z coordinate</dd>
<dt>Returns:</dt>
<dd>Noise at given location, from range -1 to 1</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNoise(double,double,double,double)">
<h3>getNoise</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getNoise</span><wbr><span class="parameters">(double&nbsp;x,
double&nbsp;y,
double&nbsp;z,
double&nbsp;w)</span></div>
<div class="block">Computes and returns the 4D simplex noise for the given coordinates in
4D space</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>x</code> - X coordinate</dd>
<dd><code>y</code> - Y coordinate</dd>
<dd><code>z</code> - Z coordinate</dd>
<dd><code>w</code> - W coordinate</dd>
<dt>Returns:</dt>
<dd>Noise at given location, from range -1 to 1</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="noise(double,double,double)">
<h3>noise</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">noise</span><wbr><span class="parameters">(double&nbsp;xin,
double&nbsp;yin,
double&nbsp;zin)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="NoiseGenerator.html#noise(double,double,double)">NoiseGenerator</a></code></span></div>
<div class="block">Computes and returns the 3D noise for the given coordinates in 3D space</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="PerlinNoiseGenerator.html#noise(double,double,double)">noise</a></code>&nbsp;in class&nbsp;<code><a href="PerlinNoiseGenerator.html" title="class in org.bukkit.util.noise">PerlinNoiseGenerator</a></code></dd>
<dt>Parameters:</dt>
<dd><code>xin</code> - X coordinate</dd>
<dd><code>yin</code> - Y coordinate</dd>
<dd><code>zin</code> - Z coordinate</dd>
<dt>Returns:</dt>
<dd>Noise at given location, from range -1 to 1</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="noise(double,double)">
<h3>noise</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">noise</span><wbr><span class="parameters">(double&nbsp;xin,
double&nbsp;yin)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="NoiseGenerator.html#noise(double,double)">NoiseGenerator</a></code></span></div>
<div class="block">Computes and returns the 2D noise for the given coordinates in 2D space</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="NoiseGenerator.html#noise(double,double)">noise</a></code>&nbsp;in class&nbsp;<code><a href="NoiseGenerator.html" title="class in org.bukkit.util.noise">NoiseGenerator</a></code></dd>
<dt>Parameters:</dt>
<dd><code>xin</code> - X coordinate</dd>
<dd><code>yin</code> - Y coordinate</dd>
<dt>Returns:</dt>
<dd>Noise at given location, from range -1 to 1</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="noise(double,double,double,double)">
<h3>noise</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">noise</span><wbr><span class="parameters">(double&nbsp;x,
double&nbsp;y,
double&nbsp;z,
double&nbsp;w)</span></div>
<div class="block">Computes and returns the 4D simplex noise for the given coordinates in
4D space</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>x</code> - X coordinate</dd>
<dd><code>y</code> - Y coordinate</dd>
<dd><code>z</code> - Z coordinate</dd>
<dd><code>w</code> - W coordinate</dd>
<dt>Returns:</dt>
<dd>Noise at given location, from range -1 to 1</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getInstance()">
<h3>getInstance</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="SimplexNoiseGenerator.html" title="class in org.bukkit.util.noise">SimplexNoiseGenerator</a></span>&nbsp;<span class="element-name">getInstance</span>()</div>
<div class="block">Gets the singleton unseeded instance of this generator</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Singleton</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>