Number tweaks

This commit is contained in:
cyberpwn
2022-01-13 07:18:14 -05:00
parent 47fa31515d
commit f57ad5a888
5 changed files with 8 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ public class IrisDecorantActuator extends EngineAssignedActuator<BlockData> {
if(height < getDimension().getFluidHeight()) {
getSeaSurfaceDecorator().decorate(finalI, j,
realX, Math.round(+finalI + 1), Math.round(x + finalI - 1),
realX, Math.round(finalI + 1), Math.round(x + finalI - 1),
realZ, Math.round(z + j + 1), Math.round(z + j - 1),
output, biome, getDimension().getFluidHeight(), getEngine().getHeight());
getSeaFloorDecorator().decorate(finalI, j,

View File

@@ -74,8 +74,10 @@ public class IrisDecorator {
@Desc("The maximum repeat stack height")
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" +
"\n\nWithin 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
Within a cave, setting them stackMin/max to 50 would make the stack 50% of the cave height""")
private boolean scaleStack = false;
@Required
@MinNumber(0)