Tags
Creators
Details
All versions
5.0.0
Release
neoforge-runiclib-1.21.1-5.0.07 months ago 1,213
Uploaded by
Compatibility
Minecraft: Java Edition
1.21–1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
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.utiltonet.azurune.runiclib.core.library.misc
MultiLoader
- Added
registerEntityAttributesto RLRegistryHelper for adding default entity attributes in common - Added
registerEntityRendererto RLClientHelper for adding entity renderers in common - Added
registerLayerDefinitionto RLClientHelper for adding entity model layers in common - Added RLNetworkHelper which includes
sendToPlayerandsendToServerfor 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
createInstancewhich 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, andblast_resistanceattributes, these block an x% of damage from their corresponding damage sources (magic useswitch_resistance_totag, 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
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:mk0Htq87:swV6ktBE"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:mk0Htq87:swV6ktBE"
}

