## Version Release v5.0.0 MC-1.21.1
### Important
- This version of RunicLib may cause some breaking changes
- All active mods from Yirmiri will have RunicLib v5.0 supported versions shortly after this update releases
### Breaking Changes
- Renamed Services to RLServices to help distinguish the service class in this mod from other MultiLoader mods
- Moved RLFurnaceFuelRegistry and RLToolActions from `net.azurune.runiclib.common.util` to `net.azurune.runiclib.core.library.misc`
### MultiLoader
- Added `registerEntityAttributes` to RLRegistryHelper for adding default entity attributes in common
- Added `registerEntityRenderer` to RLClientHelper for adding entity renderers in common
- Added `registerLayerDefinition` to RLClientHelper for adding entity model layers in common
- Added RLNetworkHelper which includes `sendToPlayer` and `sendToServer` for sending a CustomPacketPayload in common
### Runiconfig
- Added a basic loader agnostic config loader
- You can create a config by creating a config class (in this case TestConfig)
- In your mod initializer you can register it with `Runiconfig.registerConfig(MOD_ID, TestConfig.class, TestConfig::new);`
- Use getters and setters in your config class to access and modify configuration values
- You can use `Runiconfig.getConfig(<modid>)` to get the config value of a specified modid
### Commands
- Added useful commands for testing (all of these require permission level 4)
- These commands can be enabled/disabled using RunicLib's config file
- Added /heal_rl, this adds a float value to the target's health
- Added /hunger_rl, this adds an integer value to the target's hunger
- Added /saturation_rl, this adds a float value to the target's saturation
- Added /kingme_rl, this restores all health, hunger, and saturation to target
- Added /purify_rl, this is basically /cool_rl but additionally removes all status effects
- Added /setname_rl, this sets the name of a targeted entity
- Added /dyegive_rl, this gives every dyed block with this suffix to specified targets
### Misc Additions
- Added ReflectionUtils, this includes `createInstance` which instantiates a class from a specified path, this is useful for getting
classes from other mods and if they cannot be found it returns a fallback
- Added `physical_resistance`, `magic_resistance`, `elemental_resistance`, and `blast_resistance` attributes, these block an x% of damage from
their corresponding damage sources (magic uses `witch_resistance_to` tag, elemental includes all fire/lava and freezing damage, physical includes
most basic projectiles and basic player/mob attacks)
- Added PublicSeagrassBlock class for public access to SeagrassBlock
### Changes
- Updated textures of some contributor capes
### Fixes
- Fixed Dodge Chance attribute causing delayed damage and potential crashes
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }