修复配置文件布尔值示例错误
This commit is contained in:
parent
604c99550f
commit
c06b4acb7f
7 changed files with 13 additions and 13 deletions
|
@ -13,19 +13,19 @@ public class DisplayConfig {
|
||||||
public static void init(ForgeConfigSpec.Builder builder) {
|
public static void init(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("display");
|
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);
|
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);
|
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);
|
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);
|
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);
|
ARMOR_PLATE_HUD = builder.define("armor_plate_hud", true);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
|
@ -10,7 +10,7 @@ public class KillMessageConfig {
|
||||||
public static void init(ForgeConfigSpec.Builder builder) {
|
public static void init(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("kill_message");
|
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);
|
SHOW_KILL_MESSAGE = builder.define("show_kill_message", true);
|
||||||
|
|
||||||
builder.comment("The max count of kill messages to show concurrently");
|
builder.comment("The max count of kill messages to show concurrently");
|
||||||
|
|
|
@ -9,7 +9,7 @@ public class ReloadConfig {
|
||||||
public static void init(ForgeConfigSpec.Builder builder) {
|
public static void init(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("reload");
|
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);
|
LEFT_CLICK_RELOAD = builder.define("left_click_reload", true);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
|
@ -9,7 +9,7 @@ public class VehicleControlConfig {
|
||||||
public static void init(ForgeConfigSpec.Builder builder) {
|
public static void init(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("invert_aircraft_control");
|
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);
|
INVERT_AIRCRAFT_CONTROL = builder.define("invert_aircraft_control", false);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
|
@ -11,13 +11,13 @@ public class GameplayConfig {
|
||||||
public static void init(ForgeConfigSpec.Builder builder) {
|
public static void init(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("gameplay");
|
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);
|
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);
|
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);
|
RESPAWN_AUTO_ARMOR = builder.define("respawn_auto_armor", true);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class ExplosionConfig {
|
||||||
builder.comment("The percentage of explosion damage you take behind cover");
|
builder.comment("The percentage of explosion damage you take behind cover");
|
||||||
EXPLOSION_PENETRATION_RATIO = builder.defineInRange("explosion_penetration_ratio", 15, 0, 100);
|
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);
|
EXPLOSION_DESTROY = builder.define("explosion_destroy", false);
|
||||||
|
|
||||||
builder.push("RGO Grenade");
|
builder.push("RGO Grenade");
|
||||||
|
|
|
@ -9,7 +9,7 @@ public class SpawnConfig {
|
||||||
public static void init(ForgeConfigSpec.Builder builder) {
|
public static void init(ForgeConfigSpec.Builder builder) {
|
||||||
builder.push("spawn");
|
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);
|
SPAWN_SENPAI = builder.define("spawn_senpai", false);
|
||||||
|
|
||||||
builder.pop();
|
builder.pop();
|
||||||
|
|
Loading…
Add table
Reference in a new issue