Wiki › Petemcs Contagion › Configuration
Petemcs Contagion — Configuration
Every setting in the mod config file, with what it changes.
| Option | What it does |
|---|---|
airborneInfectionRadiusAerosol transmission radius (in blocks) | Maximum radius in blocks where players and villagers can be infected via airborne transmission from an infected entity | default: 6 | range: 1 - MAX |
allowAirborneInfectionForVillagersAllow airborne transmission for Villagers | If enabled, Villagers can both spread and receive the infection via airborne (aerosol) transmission | default: disabled |
allowZombiesToSpawnInfectiousAllow Zombies to spawn with the infectious effect. | If enabled, Zombies will spawn with the infectious effect (as Spreaders) | default: disabled |
contagiousFleshDropChanceBase Contagious Flesh drop chance | Base drop chance for Contagious Flesh from zombie-type mobs (0.0 to 1.0) | default: 0.075 |
baseInfectionChanceBase infection chance (in %) | Base chance in % an attack will infect the player | default: 80 | range: 0 - 100 |
chanceForZombieToSpawnInfectiousChance for a Zombie to spawn with the infectious effect. | Chance (X in 1000) for a Zombie to spawn with the infectious effect (as Spreaders) | default: 155 | range: 1 - 1000 |
contagiousFleshLootingBonusContagious Flesh Looting bonus | Additional drop chance for Contagious Flesh per level of Looting (0.0 to 1.0) | default: 0.025 |
displayCurrentInfectionProtectionDisplays the current infection protection value in the HUD | If enabled, displays the current protection value in the HUD | default: enabled |
enableAirborneInfectionEnable airborne (aerosol) transmission of infection | If enabled, allows infected entities to spread the infection through the air to nearby players and villagers | default: disabled |
enchantedGoldenAppleCuresInfectionEnchanted golden apples can cure the infection | If enabled, eating an enchanted golden apple will remove both INFECTION and INFECTIOUS effects | default: disabled |
goldenAppleCuresInfectionGolden apples can cure the infection | If enabled, eating a regular golden apple will remove both INFECTION and INFECTIOUS effects | default: disabled |
totemPreventsDyingFromInfectionHolding a totem will prevent death from infection | If enabled, holding a totem will prevent the player from dying when the infection timer runs out | default: enabled |
immunityDurationImmunity duration (in seconds) | Time in seconds after drinking a cure the player is immune to new infections | default: 120 |
allowPlayersToInfectPlayersInfected players can infect other players via melee attack | If enabled, infected players can spread the infection to other players by attacking them | default: disabled |
allowPlayersToInfectVillagersInfected players can infect Villagers via melee attack | If enabled, infected players can spread the infection to Villagers by attacking them | default: disabled |
villagerZombieConversionInfected Villagers convert to Zombie Villagers on death | If enabled, a Villager that dies from the infection will transform into a Zombie Villager | default: enabled |
infectionDurationInfection duration (in seconds) | Time in seconds until the infection kills the player | default: 600 |
infiniteWeaknessAndSlownessInfinite weakness and slowness until cured | If enabled, the weakness and slowness effects from infection will only be removed by drinking milk | default: disabled |
ironGolemAttacksInfectedIron Golems attack infected players | If enabled, Iron Golems will target and attack infected players | default: disabled |
airborneMaxChanceMax aerosol infection chance (%) | Maximum infection chance percentage per tick when a target is directly adjacent to the infected spreader | default: 50 | range: 0 - 100 |
minimumInfectionChanceMinimum infection chance (in %) | The infection chance can not be lower than this value (even with armor) | default: 10 | range: 0 - 100 |
deltaXMove the HUD-display in the X-direction | Move the displayed protection value in the HUD in X-direction | default: 0 |
deltaYMove the HUD-display in the Y-direction | Move the displayed protection value in the HUD in Y-direction | default: 0 |
randomSymptomsChanceRandom symptom chance (in %, checked every second) | Chance in % a random symptom can occur when infected | default: 3 | range: 0 - 100 |
randomSymptomsDurationRandom symptom duration (in seconds) | Time in seconds a random symptom will last | default: 30 |
enableRandomSymptomsRandom symptoms can occur when infected | If enabled, random symptoms can occur when infected | default: enabled |
milkCuresInfectionThe infection can be cured by drinking milk | If enabled, drinking milk will cure the player if infected | default: disabled |
villagerFleeFromInfectiousEntitiesVillagers flee from infectious entities | If enabled, healthy Villagers will flee from entities carrying the INFECTIOUS effect within 8.0 blocks | default: enabled |
armorLowersInfectionChanceWearing armor lowers the infection chance | If enabled, wearing armor will lower the infection chance (full Netherite will lower the chance by 60%) | default: enabled |
enableDebugMessagesWrites debug messages to the log | If enabled, writes debug messages to the log | default: disabled |
allowZombiesToInfectVillagersZombies can infect Villagers via melee attack | If enabled, zombies can spread the infection to nearby Villagers by attacking them. Does not affect default villager zombie conversion. |