Tags
Creators
Details
1.3.0
Compatibility
Changes
Changes Summary
TPS-Independent Animation Improvements
Datapack Animation Optimization
Problem: Item display animations were choppy during TPS lag (tied to game ticks).
Solution: Optimized interpolation timing to mask TPS fluctuations:
- Increased interpolation duration: 10 ticks โ 30 ticks
- Reduced update frequency: every 10 ticks โ every 20 ticks
- Simplified keyframes: 12 keyframes โ 6 keyframes with longer transitions
- Each keyframe explicitly sets
interpolation_duration:30
This is only remediation; there are limitations due to this being a datapack at its core and how animations work in Minecraft. Look at it as a visual TPS indicator ๐น
Files Modified:
totem/initialize.mcfunction- Entity spawn with 30-tick interpolationtotem/animate_item_display.mcfunction- Update frequency changedtotem/animate_item_step.mcfunction- Fewer keyframes, longer interpolation
Result: Animations remain smooth even during TPS drops by leveraging Minecraft's built-in client-side interpolation buffer.
Totem Progression System
Recipe Unlocking
Problem: Recipes had no advancement requirements - players could craft any tier immediately.
Solution: Added progression checks via confiscate_* functions (already implemented):
- Players attempting to craft locked totems have items confiscated
- Materials returned via
givecommands - Error messages display progression requirements
Implementation: The check_illegal_totem.mcfunction runs every tick checking player inventories.
Advancement Support for Short Totems
Problem: Advancements only checked for tall totems (missing totem_short: 1 NBT).
Solution: NBT matching is "contains" not "exact match" - short totems naturally trigger since they have totem_tier field.
Result: Both tall AND short variants progress the advancement tree (already worked, confirmed via testing).
Material Drops on Break
Problem: Breaking totems only dropped the totem item itself.
Solution: Updated all 12 drop functions to return the corresponding totem recipe item (no material duplication).
Files Modified:
- All
totem/drop/tier*.mcfunctionfiles (1-6, tall + short)
Result: Breaking totems returns the totem recipe items for reuse/relocation (no resource duping).
Summary
- โ Animations: 3x smoother during TPS lag via interpolation buffering
- โ Progression: Working via confiscate system (runs every tick)
- โ Advancements: Support both tall and short totem variants
- โ Drop System: Returns totem recipe items without duplication
Full Changelog: https://github.com/Underwood-Inc/rituals/compare/1.1.1...1.3.0
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:gSL3YYWc:44BKxd89"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:gSL3YYWc:44BKxd89"
}

