Config File

The Config File allows you to modify different behaviors of the mod.

Modifying The Config File

The Config File can be found at <instance>/config/mob_repellent-server.toml.

You can edit this file for the changes to take place in all of your worlds, or you can copy it inside of your world folder under <instance>/saves/<world>/serverconfig/mob_repellent-server.toml to override it for this world.

mob_repellent-server.toml
#
# Defines the spherical range of action in blocks of the Wooden Brazier.
# Default: 20
# Range: > 0
wooden_brazier_range = 20
#
# Defines the chance that the Wooden Brazier will extinguish itself after successfully preventing a mob from spawning.
# Disabled: 0
# Default: 256
# Range: > 0
wooden_brazier_extinguish_chance = 256
#
# Defines the spherical range of action in blocks of the Stone Brazier.
# Default: 40
# Range: > 0
stone_brazier_range = 40
#
# Defines the chance that the Stone Brazier will extinguish itself after successfully preventing a mob from spawning.
# Disabled: 0
# Default: 1024
# Range: > 0
stone_brazier_extinguish_chance = 1024
#
# Defines the spherical range of action in blocks of the Terracotta Brazier.
# Default: 60
# Range: > 0
terracotta_brazier_range = 60
#
# Defines if the braziers should also prevent spawners from spawning mobs.
prevent_spawners = false

The Values

wooden_brazier_range

The wooden_brazier_range value controls the spherical range of action of the Wooden Brazier in blocks. This means the area around the Brazier that prevents the spawn of monsters.

The default value is 20.

wooden_brazier_extinguish_chance

The wooden_brazier_extinguish_chance value controls the chance of the Wooden Brazier to get extinguished after successfully preventing a monster from spawning. This means, after a monster is prevented from spawning, there is a 1 in 256 (or new defined value) chance that the Brazier will extinguish.

The default value is 256.

To disable this behavior, set the value to 0.

stone_brazier_range

The stone_brazier_range value controls the spherical range of action of the Stone Brazier in blocks. This means the area around the Brazier that prevents the spawn of monsters.

The default value is 40.

stone_brazier_extinguish_chance

The stone_brazier_extinguish_chance value controls the chance of the Stone Brazier to get extinguished after successfully preventing a monster from spawning. This means, after a monster is prevented from spawning, there is a 1 in 1024 (or new defined value) chance that the Brazier will extinguish.

The default value is 1024.

To disable this behavior, set the value to 0.

terracotta_brazier_range

The terracotta_brazier_range value controls the spherical range of action of the Terracotta Brazier in blocks. This means the area around the Brazier that prevents the spawn of monsters.

The default value is 60.

prevent_spawners

The prevent_spawners value controls whether a spawner should be prevented from spawning monsters if the monster is present in a Brazier’s range.

The default value is false.