Skip to content

Commit

Permalink
chore: update to Architectury API 15.0.2
Browse files Browse the repository at this point in the history
Needed to update `ReloadListenerRegistry.register` calls due to architectury/architectury-api#603
  • Loading branch information
ellellie committed Feb 16, 2025
1 parent 93a46fc commit dd87393
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ fabricloader_version=0.16.7
cloth_config_version=17.0.144
modmenu_version=11.0.0-rc.2
fabric_api=0.112.0+1.21.4
architectury_version=15.0.1
architectury_version=15.0.2
api_exculde=
#api_include=me.shedaniel.cloth:cloth-events,me.shedaniel.cloth:config-2,me.sargunvohra.mcmods:autoconfig1u,org.jetbrains:annotations,net.fabricmc.fabric-api:fabric
2 changes: 1 addition & 1 deletion neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To allow players to view items and recipes.
[[dependencies.roughlyenoughitems]]
modId = "architectury"
type = "required"
versionRange = "[8,)"
versionRange = "[15.0.2,)"
ordering = "NONE"
side = "BOTH"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void onInitialize() {
if (GameInstance.getServer() == null) return;
ReloadManagerImpl.reloadPlugins(null, ReloadInterruptionContext.ofNever());
}, executor2);
});
}, ResourceLocation.fromNamespaceAndPath("roughlyenoughitems", "reload_plugins"));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public Sprite(float u0, float u1, float v0, float v1) {
static {
ReloadListenerRegistry.register(PackType.CLIENT_RESOURCES, (barrier, resourceManager, preparationExecutor, reloadExecutor) -> {
return barrier.wait(Unit.INSTANCE).thenRunAsync(CachedEntryListRender::refresh, reloadExecutor);
});
}, ResourceLocation.fromNamespaceAndPath("roughlyenoughitems", "cached_entries"));
}

public static void refresh() {
Expand Down

0 comments on commit dd87393

Please sign in to comment.