# specialmobs:cave_spiders/mother_cave_spiders.toml
# This config contains options that apply only to the mother cave spider species.


# Category: general
# Options standard to all mob species (that is, not specific to any particular mob species).

  # The chance for mother cave spiders to succeed at natural spawn attempts. Does not affect Mob Replacement.
  # Note: Most species do NOT naturally spawn - they must be added by a mod or data pack for this option to do anything.
  # <Number> Range: 0.0 ~ 1.0, Default: 1.0
  general.natural_spawn_chance.base = 1.0
  # The chance for mother cave spiders to succeed at natural spawn attempts when specific environmental conditions are
  #   met.
  # <Environment List> Format: [ "value condition1 state1 & condition2 state2 & ...", ... ], Default: []
  #    Range for Values: 0.0 ~ 1.0
  general.natural_spawn_chance.exceptions = []

  # When greater than 0, mother cave spiders will have a random render scale applied. This is a visual effect only. If
  #   this is set to a non-negative value, it overrides the value set for both "master_random_scaling" and
  #   "family_random_scaling". The priority is species value > family value > master value.
  # <Number> Range: -1.0 ~ 1.0, Default: -1.0
  general.random_scaling = -1.0

  # Attribute modifiers for mother cave spiders. If no attribute changes are defined here, mother cave spiders will
  #   have the exact same attributes as their parent vanilla mob.
  # <Attribute List> Format: [ "namespace:attribute_name operation value", ... ], Default: [
  #   "minecraft:generic.max_health + 16.0", "minecraft:generic.armor + 6.0", "minecraft:generic.attack_damage + 3.0" ]
  #    Range for Values: Any Value
  general.attributes = [
    "minecraft:generic.max_health + 16.0",
    "minecraft:generic.armor + 6.0",
    "minecraft:generic.attack_damage + 3.0"
  ]

  # Subcategory: special_data
  # Special Mob Data. These are the values set to each mother cave spider on spawn (in their NBT).

    # The amount of experience mother cave spiders drop when killed by a player. Multiplied by 2.5 for babies. Extra
    #   experience may drop based on equipment. Slime-style mobs also drop experience equal to slime size.
    # <Integer> Range: ≥ 0, Default: 6
    general.special_data.experience = 6
    # If greater than 0, mother cave spiders will heal 1 half-heart of health every "heal_time" ticks. (20 ticks = 1
    #   second)
    # <Integer> Range: ≥ 0, Default: 30
    general.special_data.heal_time = 30
    # Fall damage taken by mother cave spiders is multiplied by this value. 0 is fall damage immunity.
    # <Number> Range: ≥ 0.0, Default: 1.0
    general.special_data.fall_damage_multiplier = 1.0
    # If true, mother cave spiders will take no fire damage. Does not affect spawn restrictions.
    # <Boolean> Valid Values: { true, false }, Default: false
    general.special_data.immune_to_fire = false
    # If true, mother cave spiders cannot be set on fire (this setting only matters if not immune to fire).
    # <Boolean> Valid Values: { true, false }, Default: false
    general.special_data.immune_to_burning = false
    # If true, mother cave spiders can breathe in water.
    # <Boolean> Valid Values: { true, false }, Default: false
    general.special_data.immune_to_drowning = false
    # If true, mother cave spiders will ignore forces applied by flowing fluids.
    # <Boolean> Valid Values: { true, false }, Default: false
    general.special_data.immune_to_fluid_push = false
    # If true, mother cave spiders will be continuously damaged while wet.
    # <Boolean> Valid Values: { true, false }, Default: false
    general.special_data.sensitive_to_water = false
    # If true, mother cave spiders can be leashed. (Note: Leashed mobs can still attack you.)
    # <Boolean> Valid Values: { true, false }, Default: false
    general.special_data.allow_leashing = false
    # If true, mother cave spiders will not trigger pressure plates.
    # <Boolean> Valid Values: { true, false }, Default: false
    general.special_data.immune_to_pressure_plates = false
    # Mother cave spiders will not be 'trapped' in any blocks specified here (e.g. "cobweb" or "sweet_berry_bush").
    # <"minecraft:block" Registry List> Format: [ "namespace:entry_name", ... ], Default: [ "minecraft:cobweb" ]
    general.special_data.immune_to_sticky_blocks = [
      "minecraft:cobweb"
    ]
    # Mother cave spiders cannot be inflicted with any effects specified here (e.g. "instant_damage" or "regeneration").
    # <"minecraft:mob_effect" Registry List> Format: [ "namespace:entry_name", ... ], Default: [ "minecraft:poison" ]
    general.special_data.immune_to_effects = [
      "minecraft:poison"
    ]

  # Subcategory: ranged_stats
  # Like Special Mob Data, these are set to NBT on spawn. Unlike SMD, ranged stats are not all applicable to all mobs.

    # The base ranged attack damage for mother cave spiders (in half-hearts).
    # <Number> Range: ≥ 0.0, Default: 3.5
    general.special_data.ranged_attack.damage = 3.5
    # The ranged attack spread (inaccuracy) for mother cave spiders. 0 is perfect accuracy.
    # <Number> Range: ≥ 0.0, Default: 1.4
    general.special_data.ranged_attack.spread = 1.4
    # The delay (in ticks) for mother cave spiders to perform a ranged attack from rest. (20 ticks = 1 second)
    # <Integer> Range: ≥ 0, Default: 20
    general.special_data.ranged_attack.charge_time = 20
    # The total delay (in ticks) mother cave spiders wait between each ranged attack. (20 ticks = 1 second)
    # <Integer> Range: ≥ 0, Default: 60
    general.special_data.ranged_attack.refire_time = 60
    # The maximum distance (in blocks) at which mother cave spiders can use their ranged attacks. 0 disables ranged
    #   attacks.
    # <Number> Range: ≥ 0.0, Default: 10.0
    general.special_data.ranged_attack.max_range = 10.0


# Category: cave_spiders
# Options standard to all cave spiders.

  # Chance for mother cave spiders to spawn as a 'spitter', which enables their ranged attack (if max range > 0).
  # <Number> Range: 0.0 ~ 1.0, Default: 0.05
  cave_spiders.spitter_chance = 0.05


# Category: mother
# Options specific to mother cave spiders.

  # The minimum and maximum (inclusive) number of babies mother cave spiders spawn on death.
  # Any remaining 'extra babies' will added to the amount spawned on death (see below).
  # <Integer> Range: ≥ 0, Default: 2
  mother.babies.min = 2
  # <Integer> Range: ≥ 0, Default: 4
  mother.babies.max = 4

  # The minimum and maximum (inclusive) number of babies that mother cave spiders can spawn from hits before death.
  # Any remaining 'extra babies' will added to the amount spawned on death (see above).
  # <Integer> Range: ≥ 0, Default: 2
  mother.extra_babies.min = 2
  # <Integer> Range: ≥ 0, Default: 4
  mother.extra_babies.max = 4
