9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-28 03:29:06 +00:00

woops forgot description for SpreadType

This commit is contained in:
CrazyDev22
2024-05-11 12:50:40 +02:00
parent 55c0fa5f32
commit f68d7420e3

View File

@@ -102,8 +102,11 @@ public class IrisJigsawStructurePlacement implements IRare {
return i * spacing + l == x && j * spacing + m == z;
}
@Desc("Spread type")
public enum SpreadType {
@Desc("Linear spread")
LINEAR(RNG::i),
@Desc("Triangular spread")
TRIANGULAR((rng, bound) -> (rng.i(bound) + rng.i(bound)) / 2);
private final SpreadMethod method;