mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-18 06:41:08 +00:00
woops forgot description for SpreadType
This commit is contained in:
@@ -102,8 +102,11 @@ public class IrisJigsawStructurePlacement implements IRare {
|
|||||||
return i * spacing + l == x && j * spacing + m == z;
|
return i * spacing + l == x && j * spacing + m == z;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Desc("Spread type")
|
||||||
public enum SpreadType {
|
public enum SpreadType {
|
||||||
|
@Desc("Linear spread")
|
||||||
LINEAR(RNG::i),
|
LINEAR(RNG::i),
|
||||||
|
@Desc("Triangular spread")
|
||||||
TRIANGULAR((rng, bound) -> (rng.i(bound) + rng.i(bound)) / 2);
|
TRIANGULAR((rng, bound) -> (rng.i(bound) + rng.i(bound)) / 2);
|
||||||
private final SpreadMethod method;
|
private final SpreadMethod method;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user