Mod Config
About 247 wordsLess than 1 minute
2025-11-27
You can make some adjustments to the behavior of the entire mod by modifying the battery_shield-common.toml file in the config folder.
| Config | Type | Default | Description |
|---|---|---|---|
shield_pre_level | int | 10 | Base shield value per level |
battery_value | int | 50 | Shield recharged by a Shield Battery |
small_battery_value | int | 10 | Shield recharged by a Small Battery |
sheild_cooldown | int | 60 | Shield cooldown time (ticks) |
mobs_shield | boolean | true | Whether mobs are allowed to have shields |
mobs_shield_add_percent | Double | 0.5 | Extra shield percentage for mobs |
display.shield | boolean | true | Whether to display the shield bar |
display.health | boolean | true | Whether to display health |
display.number | boolean | true | Whether to show damage numbers |
display.hud | boolean | true | Whether to show shield info in the HUD |
misc.use_2d_head | boolean | true | Whether to display 2D head icons |
send_charging_msg | boolean | true | Whether to send a message when charging |
messages | List<String> | ["正在使用护盾电池", "正在给护盾充能"] | Messages sent when using a Shield Battery |
messages_phoenix | List<String> | ["正在使用凤凰治疗包"] | Message sent when using a Phoenix Battery |
func.zero_damage_event | boolean | false | Take no damage when shielded |
func.calc_damage_with_event | boolean | false | Shield absorbs incoming damage directly |
func.prevent_damage_overflow | boolean | true | Prevent overflow damage exceeding shield value |
misc.use_glass_break_sound | boolean | false | Play a sound when the shield breaks |
evolve.requirement | List<int> | [40, 120, 360] | Requirements for shield evolution |
evolve.allow | boolean | false | Allow shield evolution |
display.evolve | boolean | true | Whether to display shield evolution points |
