修复配置文件布尔值示例错误

This commit is contained in:
Light_Quanta 2025-03-15 01:26:13 +08:00
parent 604c99550f
commit c06b4acb7f
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959
7 changed files with 13 additions and 13 deletions

View file

@ -13,19 +13,19 @@ public class DisplayConfig {
public static void init(ForgeConfigSpec.Builder builder) {
builder.push("display");
builder.comment("Set TRUE if you want to show kill indication while killing an entity");
builder.comment("Set true if you want to show kill indication while killing an entity");
KILL_INDICATION = builder.define("kill_indication", true);
builder.comment("Set TRUE to show ammo and gun info on HUD");
builder.comment("Set true to show ammo and gun info on HUD");
AMMO_HUD = builder.define("ammo_hud", true);
builder.comment("Set TRUE to enable float cross hair");
builder.comment("Set true to enable float cross hair");
FLOAT_CROSS_HAIR = builder.define("float_cross_hair", true);
builder.comment("Set TRUE to enable camera rotate when holding a gun");
builder.comment("Set true to enable camera rotate when holding a gun");
CAMERA_ROTATE = builder.define("camera_rotate", true);
builder.comment("Set TRUE to enable armor plate hud");
builder.comment("Set true to enable armor plate hud");
ARMOR_PLATE_HUD = builder.define("armor_plate_hud", true);
builder.pop();

View file

@ -10,7 +10,7 @@ public class KillMessageConfig {
public static void init(ForgeConfigSpec.Builder builder) {
builder.push("kill_message");
builder.comment("Set TRUE if you want to show kill message");
builder.comment("Set true if you want to show kill message");
SHOW_KILL_MESSAGE = builder.define("show_kill_message", true);
builder.comment("The max count of kill messages to show concurrently");

View file

@ -9,7 +9,7 @@ public class ReloadConfig {
public static void init(ForgeConfigSpec.Builder builder) {
builder.push("reload");
builder.comment("Set TRUE if you want to reload guns when ammo is empty by clicking left button");
builder.comment("Set true if you want to reload guns when ammo is empty by clicking left button");
LEFT_CLICK_RELOAD = builder.define("left_click_reload", true);
builder.pop();

View file

@ -9,7 +9,7 @@ public class VehicleControlConfig {
public static void init(ForgeConfigSpec.Builder builder) {
builder.push("invert_aircraft_control");
builder.comment("Set TRUE to invert aircraft control");
builder.comment("Set true to invert aircraft control");
INVERT_AIRCRAFT_CONTROL = builder.define("invert_aircraft_control", false);
builder.pop();

View file

@ -11,13 +11,13 @@ public class GameplayConfig {
public static void init(ForgeConfigSpec.Builder builder) {
builder.push("gameplay");
builder.comment("Set TRUE if you want to reload all your guns when respawn");
builder.comment("Set true if you want to reload all your guns when respawn");
RESPAWN_RELOAD = builder.define("respawn_reload", true);
builder.comment("Set FALSE if you want to show kill indication ONLY while killing an entity with a gun");
builder.comment("Set false if you want to show kill indication ONLY while killing an entity with a gun");
GLOBAL_INDICATION = builder.define("global_indication", true);
builder.comment("Set TRUE if you want to refill your armor plate when respawn");
builder.comment("Set true if you want to refill your armor plate when respawn");
RESPAWN_AUTO_ARMOR = builder.define("respawn_auto_armor", true);
builder.pop();

View file

@ -35,7 +35,7 @@ public class ExplosionConfig {
builder.comment("The percentage of explosion damage you take behind cover");
EXPLOSION_PENETRATION_RATIO = builder.defineInRange("explosion_penetration_ratio", 15, 0, 100);
builder.comment("Set TRUE to allow Explosion to destroy blocks");
builder.comment("Set true to allow Explosion to destroy blocks");
EXPLOSION_DESTROY = builder.define("explosion_destroy", false);
builder.push("RGO Grenade");

View file

@ -9,7 +9,7 @@ public class SpawnConfig {
public static void init(ForgeConfigSpec.Builder builder) {
builder.push("spawn");
builder.comment("Set TRUE to allow Senpai to spawn naturally");
builder.comment("Set true to allow Senpai to spawn naturally");
SPAWN_SENPAI = builder.define("spawn_senpai", false);
builder.pop();