Skip to content

Commit

Permalink
Updated rhino
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Aug 2, 2024
1 parent 36d94d6 commit a84b9eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ modrinth_id=umyGl7zF
minecraft_version=1.21
mod_version=2100.7.0

neoforge_version=21.0.145
neoforge_version=21.0.148
parchment_version=2024.07.07
rhino_version=2100.2.5-build.44
rhino_version=2100.2.5-build.46

architectury_version=13.0.6
rei_version=16.0.744
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
public interface ClientEvents {
EventGroup GROUP = EventGroup.of("ClientEvents");

// add low assets
TargetedEventHandler<GeneratedDataStage> GENERATE_ASSETS = GROUP.client("generateAssets", () -> KubeAssetGenerator.class).requiredTarget(GeneratedDataStage.TARGET);
EventHandler BLOCK_ENTITY_RENDERER_REGISTRY = GROUP.startup("blockEntityRendererRegistry", () -> BlockEntityRendererRegistryKubeEvent.class);
EventHandler ENTITY_RENDERER_REGISTRY = GROUP.startup("entityRendererRegistry", () -> EntityRendererRegistryKubeEvent.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ public class ItemModificationKubeEvent implements KubeEvent {
**NOTE**: tag ingredients are not supported at this time.
""")
public void modify(ItemPredicate in, Consumer<ItemModifications> c) {
for (var item : in.kjs$getItemTypes()) {
c.accept(new ItemModifications(item));
}
in.kjs$getItemTypes().stream().map(ItemModifications::new).forEach(c);
}

public record ItemModifications(Item item) {
Expand Down

0 comments on commit a84b9eb

Please sign in to comment.