mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 03:29:06 +00:00
Auto stash before revert of "Cleanup"
This commit is contained in:
@@ -84,7 +84,9 @@ public class IrisCarveLayer {
|
||||
}
|
||||
|
||||
public ProceduralStream<Double> rawStream(RNG rng, IrisData data) {
|
||||
return rawStreamCache.aquire(() -> ProceduralStream.of((x, y, z) -> getCng(rng, data).fitDouble(0D, 1D, x, y, z) * Math.pow(IrisInterpolation.sinCenter(M.lerpInverse(getMinHeight(), getMaxHeight(), y)), 4), Interpolated.DOUBLE));
|
||||
return rawStreamCache.aquire(() -> ProceduralStream.of((x, y, z) -> {
|
||||
return getCng(rng, data).fitDouble(0D, 1D, x, y, z) * Math.pow(IrisInterpolation.sinCenter(M.lerpInverse(getMinHeight(), getMaxHeight(), y)), 4);
|
||||
}, Interpolated.DOUBLE));
|
||||
}
|
||||
|
||||
public CNG getCng(RNG rng, IrisData data) {
|
||||
|
||||
@@ -70,10 +70,8 @@ public class IrisDecorator {
|
||||
private int stackMax = 1;
|
||||
|
||||
@DependsOn({"stackMin", "stackMax"})
|
||||
@Desc("""
|
||||
Changes stackMin and stackMin from being absolute block heights and instead uses them as a percentage to scale the stack based on the cave height
|
||||
|
||||
Within a cave, setting them stackMin/max to 50 would make the stack 50% of the cave height""")
|
||||
@Desc("Changes stackMin and stackMin from being absolute block heights and instead uses them as a percentage to scale the stack based on the cave height" +
|
||||
"\n\nWithin a cave, setting them stackMin/max to 50 would make the stack 50% of the cave height")
|
||||
private boolean scaleStack = false;
|
||||
|
||||
@Required
|
||||
|
||||
@@ -560,6 +560,10 @@ public class IrisRegion extends IrisRegistrant implements IRare {
|
||||
});
|
||||
}
|
||||
|
||||
public void pickRandomColor(DataProvider data) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFolderName() {
|
||||
return "regions";
|
||||
|
||||
Reference in New Issue
Block a user