From e97bb7a09c3201682c91f423c2a8a87b20b3816d Mon Sep 17 00:00:00 2001 From: anhgelus Date: Sat, 31 Aug 2024 16:50:37 +0000 Subject: feat(config): change default values for world borders --- Writerside/topics/config-file.md | 8 ++++---- Writerside/topics/gamerules.md | 6 +++--- src/main/java/world/anhgelus/molehunt/Molehunt.java | 6 +++--- src/main/java/world/anhgelus/molehunt/config/Config.java | 12 ++++++------ 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Writerside/topics/config-file.md b/Writerside/topics/config-file.md index bbfbecd..bdba4f4 100644 --- a/Writerside/topics/config-file.md +++ b/Writerside/topics/config-file.md @@ -133,18 +133,18 @@ show_tab = false # World border settings # Initial world size (in blocks). -# Default: 200 blocks. -initial_world_size = 200 +# Default: 600 blocks. +initial_world_size = 600 # Final world size (in blocks). # Default: 50 blocks. -final_world_size = 50 +final_world_size = 100 # Moving starting time offset (in minutes) # The time before starting to move the world borders. # If this value is greater than the game duration, borders will never move. # Default: 10 minutes. -border_moving_starting_time_offset = 10 +border_moving_starting_time_offset = 30 # Other diff --git a/Writerside/topics/gamerules.md b/Writerside/topics/gamerules.md index c838643..688f938 100644 --- a/Writerside/topics/gamerules.md +++ b/Writerside/topics/gamerules.md @@ -37,8 +37,8 @@ Here's a list of all the Molehunt gamerules. #### World-border settings -- `initialWorldSize`: the world size when starting the game (default: `200 blocks`). -- `finalWorldSize`: the target world size on the end of the game (default: `50 blocks`). -- `borderMovingStartingTimeOffsetMinutes`: the time before the world borders start to move in minutes (default: `5 minutes`). +- `initialWorldSize`: the world size when starting the game (default: `600 blocks`). +- `finalWorldSize`: the target world size on the end of the game (default: `100 blocks`). +- `borderMovingStartingTimeOffsetMinutes`: the time before the world borders start to move in minutes (default: `10 minutes`). > Setting this to a value greater than `gameDuration` will make the borders never move. {style=note} diff --git a/src/main/java/world/anhgelus/molehunt/Molehunt.java b/src/main/java/world/anhgelus/molehunt/Molehunt.java index 86668e3..abce46b 100644 --- a/src/main/java/world/anhgelus/molehunt/Molehunt.java +++ b/src/main/java/world/anhgelus/molehunt/Molehunt.java @@ -83,17 +83,17 @@ public class Molehunt implements ModInitializer { public static final GameRules.Key INITIAL_WORLD_SIZE = GameRuleRegistry.register( MOD_ID +":initialWorldSize", GameRules.Category.MISC, - GameRuleFactory.createIntRule(CONFIG_FILE.getOrDefault("initial_world_size", 200), 0) + GameRuleFactory.createIntRule(CONFIG_FILE.getOrDefault("initial_world_size", 600), 0) ); public static final GameRules.Key FINAL_WORLD_SIZE = GameRuleRegistry.register( MOD_ID +":finalWorldSize", GameRules.Category.MISC, - GameRuleFactory.createIntRule(CONFIG_FILE.getOrDefault("final_world_size", 50), 0) + GameRuleFactory.createIntRule(CONFIG_FILE.getOrDefault("final_world_size", 100), 0) ); public static final GameRules.Key MOVING_STARTING_TIME_OFFSET = GameRuleRegistry.register( MOD_ID +":borderMovingStartingTimeOffsetMinutes", GameRules.Category.MISC, - GameRuleFactory.createIntRule(CONFIG_FILE.getOrDefault("border_moving_starting_time_offset", 10), 0) + GameRuleFactory.createIntRule(CONFIG_FILE.getOrDefault("border_moving_starting_time_offset", 30), 0) ); public static final GameRules.Key ENABLE_PORTALS = GameRuleRegistry.register( MOD_ID +":enablePortals", diff --git a/src/main/java/world/anhgelus/molehunt/config/Config.java b/src/main/java/world/anhgelus/molehunt/config/Config.java index 1f617e6..96f62d8 100644 --- a/src/main/java/world/anhgelus/molehunt/config/Config.java +++ b/src/main/java/world/anhgelus/molehunt/config/Config.java @@ -109,18 +109,18 @@ public class Config { # World border settings # Initial world size (in blocks). - # Default: 200 blocks. - initial_world_size = 200 + # Default: 600 blocks. + initial_world_size = 600 # Final world size (in blocks). - # Default: 50 blocks. - final_world_size = 50 + # Default: 100 blocks. + final_world_size = 100 # Moving starting time offset (in minutes) # The time before starting to move the world borders. # If this value is greater than the game duration, borders will never move. - # Default: 10 minutes. - border_moving_starting_time_offset = 10 + # Default: 30 minutes. + border_moving_starting_time_offset = 30 # Other -- cgit v1.2.3