Wiki
Clone wikiLorinthsRpgMobs / Mob Variants
Mob Variant System
The mob variant system was created to do exactly as it states, create some variety of mob types through out your world. Because frankly fighting the same 100 zombies is boring. They should attack you while on fire, or be faster, or slower. No two mobs should be the same!
However with that variety comes balancing/configuration that you can tweak and disable to your hearts content!
Variant Configuration
To use the variant system you first have to enable it by locating the MobVariants portion of the config and setting Disabled: false. From there you can disable certain entities from having variants (by default creepers are disabled). Additionally you can disable a mob type for a specific Variant Type by looking under the specified
Variant Core Logic
Every Variant has a number of settings common between them, documented explained in the below code block
#!yml Blinding: # Identifier of the Variant DisplayName: 'Blinding' # Name given to mobs when applied Disabled: false # Disable specific variants DisabledTypes: - SPIDER # Disable specific entity types for a variant Weight: 10 # The chance this variant is selected
Default Configuration
#!yml MobVariants: Disabled: true # Disable random variants? VariantChance: 40 # Chance (out of 100) for a mob to be variant DisabledTypes: #Disable variants for entire entity types - CREEPER Blinding: DisplayName: 'Blinding' Disabled: false # Disable specific variants DisabledTypes: [] # Disable specific entity types for a variant Weight: 10 # The chance this variant is selected Blinding: # Effect details Duration: 60 # Blinding duration in ticks (1 second = 20 ticks) Level: 2 # potion effect level Chance: 100.0 # chance to blind on hit Burning: DisplayName: 'Burning' Disabled: false DisabledTypes: [] Weight: 10 DefensiveBurn: Ticks: 20 Chance: 20.0 Explosive: DisplayName: 'Explosive' Disabled: false DisabledTypes: [] Weight: 10 BreakBlocks: false IgniteBlocks: false Power: 4.0 Fast: DisplayName: 'Fast' Disabled: false DisabledTypes: [] Weight: 10 SpeedMultiplier: 1.5 Forceful: DisplayName: 'Forceful' Disabled: false DisabledTypes: [] Weight: 10 ForceMultiplier: 2.0 Glowing: DisplayName: 'Glowing' Disabled: false DisabledTypes: [] Weight: 10 Invisible: DisplayName: 'Invisible' Disabled: false DisabledTypes: [] Weight: 10 Poisonous: DisplayName: 'Poisonous' Disabled: false DisabledTypes: [] Weight: 10 Poison: Duration: 60 Level: 0 Chance: 20.0 Slow: DisplayName: 'Slow' Disabled: false DisabledTypes: [] Weight: 10 SpeedMultiplier: 0.5 Strong: DisplayName: 'Strong' Disabled: false DisabledTypes: [] Weight: 10 Damage: 2 DamageMultiplier: 1.0 Sturdy: DisplayName: 'Sturdy' Disabled: false DisabledTypes: [] Weight: 10 KnockbackResistance: 1.0 Tough: DisplayName: 'Tough' Disabled: false DisabledTypes: [] Weight: 10 Armor: 2 ArmorMultiplier: 1.0 Wealthy: DisplayName: 'Wealthy' Disabled: false DisabledTypes: [] Weight: 5 CurrencyValueMutiplier: 5.0
Updated