Add seed configs for all world gen features that use random

This commit is contained in:
William Blake Galbreath
2021-06-23 16:02:17 -05:00
parent c28b785a81
commit 0babd7cad8
14 changed files with 953 additions and 108 deletions

View File

@@ -18,10 +18,10 @@ index c07b5d1f1ef8b5e6026c7555d476880c8802d6c5..068f1b184a3694603f564d49fa45d5ce
private final LevelAccessor level;
private final Direction.Axis axis;
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
index 4c5a52d848ebc37f5543988485f0330812a8ea93..0f75e5e0f31433391559930b017fb0913bd46bbd 100644
index a290d43d466929030a55674a811dd229b6a03196..56e03e71b544eaf2f427cac2764f5c76b4b3acc5 100644
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
@@ -187,6 +187,7 @@ public class PurpurConfig {
@@ -296,6 +296,7 @@ public class PurpurConfig {
public static boolean barrelSixRows = false;
public static boolean enderChestSixRows = false;
public static boolean enderChestPermissionRows = false;
@@ -29,7 +29,7 @@ index 4c5a52d848ebc37f5543988485f0330812a8ea93..0f75e5e0f31433391559930b017fb091
private static void blockSettings() {
if (version < 3) {
boolean oldValue = getBoolean("settings.barrel.packed-barrels", true);
@@ -201,6 +202,7 @@ public class PurpurConfig {
@@ -310,6 +311,7 @@ public class PurpurConfig {
enderChestSixRows = getBoolean("settings.blocks.ender_chest.six-rows", enderChestSixRows);
org.bukkit.event.inventory.InventoryType.ENDER_CHEST.setDefaultSize(enderChestSixRows ? 54 : 27);
enderChestPermissionRows = getBoolean("settings.blocks.ender_chest.use-permissions-for-rows", enderChestPermissionRows);