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 3d1bceb commit c671d30
Showing 1 changed file with 4 additions and 4 deletions.
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));
registration.addUniversalRecipeTransferHandler(
new TerminalStorageRecipeTransferHandler<>(ContainerTerminalStorageItem.class, RegistryEntries.CONTAINER_PART_TERMINAL_STORAGE_ITEM));
registration.addRecipeTransferHandler(
new TerminalStorageRecipeTransferHandler<>(ContainerTerminalStoragePart.class, RegistryEntries.CONTAINER_PART_TERMINAL_STORAGE_PART), RecipeTypes.CRAFTING);
registration.addRecipeTransferHandler(
new TerminalStorageRecipeTransferHandler<>(ContainerTerminalStorageItem.class, RegistryEntries.CONTAINER_PART_TERMINAL_STORAGE_ITEM), RecipeTypes.CRAFTING);
}

@Override
Expand Down

0 comments on commit c671d30

Please sign in to comment.