
Список изменений
Additions
+ added hordes reload command
+ added husk players
+ add support for oceanic expanse to spawn drowned players if that mod is installed
+ Added the following universal functions:
hordes:random
hordes:weighted_random
hordes:set_player_nbt
hordes:set_variable
hordes:call_script
hordes:break
hordes:return
hordes:cancel
+ added hordes:is_called condition
+ added hordes:get_variable value
+ added an operation value to the wearables protection config, to specify the mode protection attributes are added
+ added unique message if another player's horde is preventing you from sleeping
+ if enabled in the config the protection sound now plays if the random infection roll would cause them to be infected if they didn't have an infection resistance attribute
Changes
~ improved script error logging in the hordes.log file
~ improved error message sent to players on log in
~ changed hordes:set_entity_nbt to a universal function
~ updated to hordes data version 11, your configs may not be compatible
~ updated commands to use the new 1.20.1 hordes command
Version Parity Changes from 1.21
+ rework of infection system - entity infectivity and infection resistance are now attributes
+ complete rework of config structure
+ added a resource loader to the hordes config folder
+ added values
hordes:day
hordes:spawn_table
+ added spawndata function:
hordes:add_reward_command
+ made entity chance to cause infection an attribute
+ added forge event HordeFindSpawnPosEvent for other mods to hook into to change horde spawn positions
+ changed the hordes spawn distance to be configurable
+ added config option to disable zombie player cape rendering (in case other mods cause issues)
+ added mod reference to mixin method names to make determining if this mod is the cause of issues more easily
+ added visual effect to make infected entities slightly yellow
- added reward commands function for horde events
~ tweaked infection visual effects slightly
Fixes
~ fixed crash from horse flee ai
~ fixed issues with infection resistance attribute tooltips
~ fixed lag on some clients with the infection overlay rendering
~ made hordes random more determanistic
~ fixed issues with spawnFirstDay in the config not working correctly
~ fixed zombie piglins not respecting the aggressiveZombiePiglins option when they are able to cause infection
~ made horde mob passengers no longer add to mob cap
~ made scheduled hordes for online players prevent other players sleeping
~ fixed potential null pointer on entity update event
~ fixed player zombes dropping items on conversion
~ rework hordes:day condition to read from event day not player day
- remove hordes:player_day, and redirect any calls to hordes:day

