All versions
1.0.5
Release
Refresh Trades 1.0.54 months ago 76
Compatibility
Minecraft: Java Edition
1.20.1–1.20.6
Platform
Forge
Supported environments
Client and server
Required content
Any compatible version
Changes
Improvements
- Migrated networking to the shared
Sliblibrary, so Refresh Trades now runs on the author's per-mod packet allocator with safe handler dispatch and unified broadcast helpers. - Added a server-side rate-limit guard on refresh packets so rapid-fire clicks cannot bypass the configured cooldown, even on laggy or hostile clients.
- Registered Refresh Trades with the
Slibconsumer registry so other Slib-based mods can detect it throughRegistry.isConsumerLoaded("refreshtrades"). - Upgraded Forge dependency to
47.4.20to stay aligned withSliband future consumer mods. - Replaced the hand-rolled
SimpleChannelboilerplate withNetwork.namespace("refreshtrades"),ClientToServerPacketandServerToClientPacketmarkers and direction-validated dispatch. - Localized messages and tooltips are unchanged, but their server-side state is now delivered through the same
ServerToClientPackethelper as the rest of Slib-based mods.
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:tcR4gZGe:RTgs3Llj"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:tcR4gZGe:RTgs3Llj"
}

