diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-02-05 10:08:44 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-02-05 10:08:44 +0800 |
| commit | ea634e7ba29146d4ebc2c05b61257fa6c3b0642e (patch) | |
| tree | cd6caf4e9b77e13b21d1c890bf38604109fd93f2 /runtime/src/main/java/me/shedaniel/rei/plugin | |
| parent | f5b59076cece9e95e76158b17b64fec27616b68b (diff) | |
| download | RoughlyEnoughItems-ea634e7ba29146d4ebc2c05b61257fa6c3b0642e.tar.gz RoughlyEnoughItems-ea634e7ba29146d4ebc2c05b61257fa6c3b0642e.tar.bz2 RoughlyEnoughItems-ea634e7ba29146d4ebc2c05b61257fa6c3b0642e.zip | |
More relocation
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/plugin')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/plugin/autocrafting/DefaultCategoryHandler.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/autocrafting/DefaultCategoryHandler.java b/runtime/src/main/java/me/shedaniel/rei/plugin/autocrafting/DefaultCategoryHandler.java index af5e1d8c7..2c32f056a 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/autocrafting/DefaultCategoryHandler.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/autocrafting/DefaultCategoryHandler.java @@ -29,13 +29,13 @@ import it.unimi.dsi.fastutil.ints.IntList; import me.shedaniel.rei.RoughlyEnoughItemsNetwork; import me.shedaniel.rei.api.AutoTransferHandler; import me.shedaniel.rei.api.ClientHelper; -import me.shedaniel.rei.api.EntryStack; -import me.shedaniel.rei.api.TransferRecipeDisplay; -import me.shedaniel.rei.api.entry.VanillaEntryTypes; -import me.shedaniel.rei.server.ContainerContext; -import me.shedaniel.rei.server.ContainerInfo; -import me.shedaniel.rei.server.ContainerInfoHandler; -import me.shedaniel.rei.server.RecipeFinder; +import me.shedaniel.rei.api.ingredient.EntryStack; +import me.shedaniel.rei.api.TransferDisplay; +import me.shedaniel.rei.api.ingredient.entry.VanillaEntryTypes; +import me.shedaniel.rei.api.server.ContainerContext; +import me.shedaniel.rei.api.server.ContainerInfo; +import me.shedaniel.rei.api.server.ContainerInfoHandler; +import me.shedaniel.rei.api.server.RecipeFinder; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking; @@ -57,9 +57,9 @@ public class DefaultCategoryHandler implements AutoTransferHandler { @NotNull @Override public Result handle(@NotNull Context context) { - if (!(context.getRecipe() instanceof TransferRecipeDisplay)) + if (!(context.getRecipe() instanceof TransferDisplay)) return Result.createNotApplicable(); - TransferRecipeDisplay recipe = (TransferRecipeDisplay) context.getRecipe(); + TransferDisplay recipe = (TransferDisplay) context.getRecipe(); AbstractContainerScreen<?> containerScreen = context.getContainerScreen(); if (containerScreen == null) return Result.createNotApplicable(); |
