Skip to content

Mob Config (Woot)

Description

Control the default values or mob-specific values for a large number of effects, a full list can be found at ipsis.woot.configuration.EnumConfigKey. A full list can be viewed on Github.

Identifier

Refer to this via any of the following:

groovy
mods.woot.mob_config/* Used as page default */
mods.woot.mobconfig
mods.woot.mobConfig
mods.woot.MobConfig

Adding Recipes

  • Adds configuration to the default map:

    groovy
    mods.woot.mob_config.add(EnumConfigKey, int)
  • Adds configuration to the given entity:

    groovy
    mods.woot.mob_config.add(String, EnumConfigKey, int)
  • Adds configuration to the default map:

    groovy
    mods.woot.mob_config.add(String, int)
  • Adds configuration to the given entity:

    groovy
    mods.woot.mob_config.add(String, String, int)
  • Adds configuration to the given entity:

    groovy
    mods.woot.mob_config.add(WootMobName, EnumConfigKey, int)
  • Adds configuration to the given entity:

    groovy
    mods.woot.mob_config.add(WootMobName, String, int)
Example
groovy
mods.woot.mob_config.add('spawn_ticks', 100)
mods.woot.mob_config.add('minecraft:zombie', 'spawn_ticks', 1)

Removing Recipes

  • Removes all configuration for the given entity:

    groovy
    mods.woot.mob_config.remove(String)
  • Removes configuration from the given entity for the given config:

    groovy
    mods.woot.mob_config.remove(String, EnumConfigKey)
  • Removes configuration from the given entity for the given config:

    groovy
    mods.woot.mob_config.remove(String, String)
  • Removes all configuration for the given entity:

    groovy
    mods.woot.mob_config.remove(WootMobName)
  • Removes configuration from the given entity for the given config:

    groovy
    mods.woot.mob_config.remove(WootMobName, EnumConfigKey)
  • Removes configuration from the given entity for the given config:

    groovy
    mods.woot.mob_config.remove(WootMobName, String)
  • Removes all registered recipes:

    groovy
    mods.woot.mob_config.removeAll()
Example
groovy
mods.woot.mob_config.remove('minecraft:wither_skeleton', 'spawn_units')
mods.woot.mob_config.remove('minecraft:wither')
mods.woot.mob_config.removeAll()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.