Перейти к содержимому
Mineforgian

Mutator

Attribute randomizer based on logical scaling

Загрузки
238
Подписчики
1
Обновлён
28 июня 2026 г.
Лицензия
MIT

Опубликован 6 ноября 2025 г.

icon

Mutator

Attribute randomizer based on logical scaling

GameRules

GameRule Type Default Explanation
attribute_inheritance Boolean True On animal breeding, the baby has a chance to inherit attributes from parents or mutate
attribute_infection Boolean True On zombie infection, the infected has chance to inherit random attribute from zombie
attribute_preservation Boolean True Preserves attributes on conversion
skeletons_use_axe Boolean True Makes skeletons with scale > 1.2 have axe instead of a bow
explosion_scaling Boolean True Scales ExplosionRadius of mobs
burn_scaling Boolean True Scales burn damage
tame_scaling Boolean True Makes animals harder to tame
range_scaling Boolean True Scales mob attack/pickup range
exp_scaling Boolean True Scales experience
mutation Boolean True If mobs should have mutation
scaling_steps Integer 4 How much steps, maximum, per mutated mob spawn, should be taken in order to find a free space. Higher values is accurate, but will impact main thread performance.
chance Integer 25 Mob mutation chance
weirdness Double 6.0 General weirdness that is used for random
attribute_positive_multiplier Double 1.2 General scaling for positive attributes
attribute_negative_multiplier Double 0.5 General scaling for negative attributes

External configurations

  • ignore.json

  • Field Type Explanation
    reasons List SpawnReason values that mutation ignores
    attributes List Attribute identifiers that mutation ignores
    types List EntityType identifiers that ignore mutation
    conversion List EntityType identifiers that ignore attribute_preservation
  • scaling.json

  • Field Type Explanation
    positive List Attributes that increase with bigger mob scale
    negative List Attributes that decrease with bigger mob scale
    lootScaling Boolean Enables/disables loot scaling; needs restart to take effect

    most config changes can be applied at runtime with /mutator::reload

    Ченджлог

    3.0Релиз26.2 · 28 июня 2026 г.
    • This project now finally has detailed automatic tests
      • Testing is only done at compile time and not shipped with the actual mod
    • Reworked size_partitioning into scaling_steps
      • scaling_steps still follows somewhat same principles on users end without being utter garbage
    • Implemented scale calculation into remaining distanceToSqr methods
    • burn_scaling now has no effect on entities with scale < 1
    • Some GameRules now have dynamicly assigned ranged values
    • Attribute gathering is now done via BuiltInRegistries stream
      • It is untested, but custom attributes now should be supported
    • Baby animals can no longer mutate on their own
    • BreedGoal now uses proper per entity scaling
    • IgnoreConfig now maps string values to actual enum
    • Default config changes
      • bounciness, friction_modifier, below_name_distance is now ignored
      • name_tag_distance is added to the positive attributes
      • air_drag_modifier is added to the negative attributes


    This automatic release was triggered by a new tag 3.0, see full pipeline: here
    2.15Релиз26.1, 26.1.1, 26.1.2 · 19 июня 2026 г.
    • Fixed unsafe attribute_inheritance randomization
    • Fixed explosion regression caused by distanceToSqr losing value of 1 (#1)


    This automatic release was triggered by a new tag 2.15, see full pipeline here
    2.14Релиз26.1, 26.1.1, 26.1.2 · 12 апреля 2026 г.

    Full Changelog

    • updated package name to net.yukki.mutator
    • removed ScalingUtils abstractions
    • renamed lib package to api
    • fix getTameRandom using RANGE_SCALING instead of TAME_SCALING (oops)
    • blocks outside of chunk are now counted as solid for partitioned scale


    This automatic release was triggered by a new tag 2.14, see full pipeline here
    2.13Бета26.1 · 27 марта 2026 г.

    Full Changelog:
    - Port to Minecraft 26.1
    - Update size partitioning to newer spec


    This automatic release was triggered by a new tag 2.13, see full pipeline here

    2.12Релиз1.21.11 · 30 января 2026 г.

    Full Changelog:

    • Updated to Minecraft 1.21.11
    • Migrated to mojang mappings
    • Updated AbstractedUtilities to 1.2
    • GameRules are now in mutator namespace
      • DataFix is already included, so there's no need to define them again
    • Reimplemented thread fix
      • Mutation is now restricted only to the main thread
        • This most likely ( untested ) makes it incompatible with features of certain mods that have asynchronous spawning such as Async
    • Migrated from FabricConfigMapper to the new ExternalConfig
    • Fixed one of shouldMutate methods not checking mutation gamerule
    • Scaling has been renamed to ScalingUtils
    • Attack bounding box Y is now also scaled
    • Overall consistency improvements
    2.11Релиз1.21.10 · 16 ноября 2025 г.

    IMPORTANT

    This version fixes a critical issue where server threads may hang with no watchdog to save you

    • Updated AbstractedUtilities to 1.1
    2.1Релиз1.21.10 · 6 ноября 2025 г.

    This is the initial release for modrinth!

    Changes compared to previous version:

    • Added doAnimalAttributeInheritance
    • Scale is now included in squaredDistanceTo
    • Removed CreeperIgniteGoal modifications as it is now handled by squaredDistanceTo
    • /mutator command is now /mutator::reload
    • Reimplemented loot scaling by using attribute_count_increase from AbstractedUtilities
    • Config files are now using FabricConfigMapper and now have fail safety
    • Config changes
      • Added conversion field in ignore.json
      • Added lootScaling field in scaling.json
      • follow_range attribute is now marked ignored due to performance issues
      • villager and zombie_villager are now marked to ignore conversion
    • Removed doVillagerIgnoreSpeedConversion and doMobLootScaling
    • Moved most of the common code to the Scaling library
    • General optimizations
    • Updated description
    • Added icon

    Комментарии

    Загружаем…