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 /api/src/main/java/me/shedaniel/rei/impl/Internals.java | |
| 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 'api/src/main/java/me/shedaniel/rei/impl/Internals.java')
| -rw-r--r-- | api/src/main/java/me/shedaniel/rei/impl/Internals.java | 19 |
1 files changed, 11 insertions, 8 deletions
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> configManager = Internals::throwNotSetup; private static Supplier<ClientHelper> clientHelper = Internals::throwNotSetup; - private static Supplier<RecipeHelper> recipeHelper = Internals::throwNotSetup; + private static Supplier<RecipeRegistry> recipeHelper = Internals::throwNotSetup; private static Supplier<REIHelper> reiHelper = Internals::throwNotSetup; private static Supplier<FluidSupportProvider> fluidSupportProvider = Internals::throwNotSetup; private static Supplier<EntryStackProvider> entryStackProvider = Internals::throwNotSetup; private static Supplier<SubsetsRegistry> subsetsRegistry = Internals::throwNotSetup; private static Supplier<EntryRegistry> entryRegistry = Internals::throwNotSetup; - private static Supplier<DisplayHelper> displayHelper = Internals::throwNotSetup; + private static Supplier<DisplayBoundsRegistry> displayHelper = Internals::throwNotSetup; private static Supplier<WidgetsProvider> widgetsProvider = Internals::throwNotSetup; private static Supplier<ClientHelper.ViewSearchBuilder> viewSearchBuilder = Internals::throwNotSetup; private static Supplier<FavoriteEntryType.Registry> 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<Unit> emptyType(ResourceLocation id); - EntryType<Unit> renderingType(ResourceLocation id); + EntryType<Renderer> renderingType(ResourceLocation id); } @Environment(EnvType.CLIENT) |
