From ea634e7ba29146d4ebc2c05b61257fa6c3b0642e Mon Sep 17 00:00:00 2001 From: shedaniel Date: Fri, 5 Feb 2021 10:08:44 +0800 Subject: More relocation Signed-off-by: shedaniel --- .../main/java/me/shedaniel/rei/impl/Internals.java | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'api/src/main/java/me/shedaniel/rei/impl/Internals.java') diff --git a/api/src/main/java/me/shedaniel/rei/impl/Internals.java b/api/src/main/java/me/shedaniel/rei/impl/Internals.java index 33b0498ad..60550b100 100644 --- a/api/src/main/java/me/shedaniel/rei/impl/Internals.java +++ b/api/src/main/java/me/shedaniel/rei/impl/Internals.java @@ -27,13 +27,16 @@ import com.google.gson.JsonObject; import me.shedaniel.math.Point; import me.shedaniel.math.Rectangle; import me.shedaniel.rei.api.*; -import me.shedaniel.rei.api.entry.EntryDefinition; -import me.shedaniel.rei.api.entry.EntryType; -import me.shedaniel.rei.api.entry.EntryTypeRegistry; import me.shedaniel.rei.api.favorites.FavoriteEntry; import me.shedaniel.rei.api.favorites.FavoriteEntryType; import me.shedaniel.rei.api.fluid.FluidSupportProvider; +import me.shedaniel.rei.api.ingredient.EntryStack; +import me.shedaniel.rei.api.ingredient.entry.EntryDefinition; +import me.shedaniel.rei.api.ingredient.entry.EntryType; +import me.shedaniel.rei.api.ingredient.entry.EntryTypeRegistry; import me.shedaniel.rei.api.subsets.SubsetsRegistry; +import me.shedaniel.rei.api.util.DrawableConsumer; +import me.shedaniel.rei.api.util.Renderer; import me.shedaniel.rei.api.widgets.*; import me.shedaniel.rei.gui.widget.Widget; import net.fabricmc.api.EnvType; @@ -56,13 +59,13 @@ import java.util.function.Supplier; public final class Internals { private static Supplier configManager = Internals::throwNotSetup; private static Supplier clientHelper = Internals::throwNotSetup; - private static Supplier recipeHelper = Internals::throwNotSetup; + private static Supplier recipeHelper = Internals::throwNotSetup; private static Supplier reiHelper = Internals::throwNotSetup; private static Supplier fluidSupportProvider = Internals::throwNotSetup; private static Supplier entryStackProvider = Internals::throwNotSetup; private static Supplier subsetsRegistry = Internals::throwNotSetup; private static Supplier entryRegistry = Internals::throwNotSetup; - private static Supplier displayHelper = Internals::throwNotSetup; + private static Supplier displayHelper = Internals::throwNotSetup; private static Supplier widgetsProvider = Internals::throwNotSetup; private static Supplier viewSearchBuilder = Internals::throwNotSetup; private static Supplier favoriteEntryTypeRegistry = Internals::throwNotSetup; @@ -89,7 +92,7 @@ public final class Internals { } @NotNull - public static RecipeHelper getRecipeHelper() { + public static RecipeRegistry getRecipeHelper() { return recipeHelper.get(); } @@ -120,7 +123,7 @@ public final class Internals { } @NotNull - public static DisplayHelper getDisplayHelper() { + public static DisplayBoundsRegistry getDisplayHelper() { return displayHelper.get(); } @@ -197,7 +200,7 @@ public final class Internals { EntryType emptyType(ResourceLocation id); - EntryType renderingType(ResourceLocation id); + EntryType renderingType(ResourceLocation id); } @Environment(EnvType.CLIENT) -- cgit