Skip to content

Commit

Permalink
Fix JEI lag caused by non-crafting recipes being considered in terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Nov 27, 2024
1 parent 7c6f99e commit 9607720
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ release_type=release
fingerprint=bd0353b3e8a2810d60dd584e256e364bc3bedd44

integrateddynamics_version=1.23.2-832
integratedterminals_version=1.5.2-388
integratedterminals_version=1.6.5-417
commoncapabilities_version=2.9.3-147
curios_version=7.3.4+1.20.4
jei_version=1.21-neoforge:19.5.0.31
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ public void registerIngredients(IModIngredientRegistration registration) {

@Override
public void registerRecipeTransferHandlers(IRecipeTransferRegistration registration) {
registration.addUniversalRecipeTransferHandler(
new TerminalStorageRecipeTransferHandler<>(ContainerTerminalStoragePart.class, RegistryEntries.CONTAINER_PART_TERMINAL_STORAGE_PART.get()));
registration.addUniversalRecipeTransferHandler(
new TerminalStorageRecipeTransferHandler<>(ContainerTerminalStorageItem.class, RegistryEntries.CONTAINER_PART_TERMINAL_STORAGE_ITEM.get()));
registration.addRecipeTransferHandler(
new TerminalStorageRecipeTransferHandler<>(ContainerTerminalStoragePart.class, RegistryEntries.CONTAINER_PART_TERMINAL_STORAGE_PART.get()), RecipeTypes.CRAFTING);
registration.addRecipeTransferHandler(
new TerminalStorageRecipeTransferHandler<>(ContainerTerminalStorageItem.class, RegistryEntries.CONTAINER_PART_TERMINAL_STORAGE_ITEM.get()), RecipeTypes.CRAFTING);
}

@Override
Expand Down

0 comments on commit 9607720

Please sign in to comment.