added more customizability to renewableCoral (#1022)

* added more customizability to renewableCoral

* changed renewableCoral to use enums instead of strings

* added suggested changes to renewablecoralmode

* Update src/main/java/carpet/CarpetSettings.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
This commit is contained in:
HED-GITandgnembon authored and GitHub committed 2021-07-29 23:48:04 -03:00
1 parent 2a391962ff
commit 56a15fb384
4 files changed
+89 -4

No files matched your search

+12 -3
View File
@@ -757,9 +757,18 @@ public class CarpetSettings
validate = LightBatchValidator.class
)
public static int lightEngineMaxBatchSize = 5;
@Rule(desc = "Coral structures will grow with bonemeal from coral plants", category = FEATURE)
public static boolean renewableCoral = false;
public enum RenewableCoralMode {
FALSE,
EXPANDED,
TRUE;
}
@Rule(
desc = "Coral structures will grow with bonemeal from coral plants",
extra = "Expanded also allows growing from coral fans for sustainable farming outside of warm oceans",
category = FEATURE
)
public static RenewableCoralMode renewableCoral = RenewableCoralMode.FALSE;
@Rule(
desc = "Nether basalt generator without soul sand below ",