| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<EntryStack> |
inventoryStacks |
| Constructor and Description |
|---|
ScreenHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearLastRecipeScreenData() |
static void |
drawHoveringWidget(com.mojang.blaze3d.matrix.MatrixStack matrices,
int screenWidth,
int screenHeight,
int x,
int y,
org.apache.logging.log4j.util.TriConsumer<com.mojang.blaze3d.matrix.MatrixStack,me.shedaniel.math.Point,java.lang.Float> consumer,
int width,
int height,
float delta) |
static void |
drawHoveringWidget(com.mojang.blaze3d.matrix.MatrixStack matrices,
int x,
int y,
org.apache.logging.log4j.util.TriConsumer<com.mojang.blaze3d.matrix.MatrixStack,me.shedaniel.math.Point,java.lang.Float> consumer,
int width,
int height,
float delta) |
static SearchFieldLocation |
getContextualSearchFieldLocation() |
@NotNull net.minecraft.util.ResourceLocation |
getDefaultDisplayTexture() |
static me.shedaniel.math.Rectangle |
getFavoritesListArea(me.shedaniel.math.Rectangle bounds) |
static ScreenHelper |
getInstance() |
@NotNull java.util.List<net.minecraft.item.ItemStack> |
getInventoryStacks() |
static me.shedaniel.math.Rectangle |
getItemListArea(me.shedaniel.math.Rectangle bounds) |
static @Nullable net.minecraft.client.gui.screen.inventory.ContainerScreen<?> |
getLastHandledScreen()
Deprecated.
|
static ContainerScreenOverlay |
getLastOverlay() |
static ContainerScreenOverlay |
getLastOverlay(boolean reset,
boolean setPage) |
static net.minecraft.client.gui.screen.Screen |
getLastRecipeScreen() |
static java.util.Optional<ContainerScreenOverlay> |
getOptionalOverlay() |
java.util.Optional<REIOverlay> |
getOverlay() |
net.minecraft.client.gui.screen.inventory.ContainerScreen<?> |
getPreviousContainerScreen() |
static @Nullable OverlaySearchField |
getSearchField() |
@Nullable TextFieldWidget |
getSearchTextField() |
static boolean |
hasLastRecipeScreen() |
static boolean |
isDarkModeEnabled()
Deprecated.
Please switch to
REIHelper.isDarkThemeEnabled() |
boolean |
isDarkThemeEnabled() |
static boolean |
isOverlayVisible() |
static void |
onClientTick(net.minecraftforge.event.TickEvent.ClientTickEvent event) |
static void |
onOpenScreen(net.minecraftforge.client.event.GuiOpenEvent event) |
void |
queueTooltip(@Nullable Tooltip tooltip) |
static void |
setPreviousContainerScreen(net.minecraft.client.gui.screen.inventory.ContainerScreen<?> previousContainerScreen) |
static void |
setSearchField(OverlaySearchField searchField) |
static void |
storeRecipeScreen(RecipeScreen screen) |
static void |
toggleOverlayVisible() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPreviousHandledScreen@ApiStatus.Internal public static java.util.Set<EntryStack> inventoryStacks
@ApiStatus.Internal public static ScreenHelper getInstance()
getInstance in interface REIHelperREIHelper.getInstance()public void queueTooltip(@Nullable
@Nullable Tooltip tooltip)
queueTooltip in interface REIHelper@Nullable public @Nullable TextFieldWidget getSearchTextField()
getSearchTextField in interface REIHelper@NotNull public @NotNull java.util.List<net.minecraft.item.ItemStack> getInventoryStacks()
getInventoryStacks in interface REIHelper@Nullable public static @Nullable OverlaySearchField getSearchField()
@ApiStatus.Internal public static void setSearchField(OverlaySearchField searchField)
public static void storeRecipeScreen(RecipeScreen screen)
public static boolean hasLastRecipeScreen()
public static net.minecraft.client.gui.screen.Screen getLastRecipeScreen()
@ApiStatus.Internal public static void clearLastRecipeScreenData()
public static boolean isOverlayVisible()
public static void toggleOverlayVisible()
public static java.util.Optional<ContainerScreenOverlay> getOptionalOverlay()
public java.util.Optional<REIOverlay> getOverlay()
getOverlay in interface REIHelperpublic static ContainerScreenOverlay getLastOverlay(boolean reset, boolean setPage)
public static ContainerScreenOverlay getLastOverlay()
@Deprecated @ApiStatus.ScheduledForRemoval @Nullable public static @Nullable net.minecraft.client.gui.screen.inventory.ContainerScreen<?> getLastHandledScreen()
REIHelper.getPreviousContainerScreen()public net.minecraft.client.gui.screen.inventory.ContainerScreen<?> getPreviousContainerScreen()
getPreviousContainerScreen in interface REIHelperpublic static void setPreviousContainerScreen(net.minecraft.client.gui.screen.inventory.ContainerScreen<?> previousContainerScreen)
public static void drawHoveringWidget(com.mojang.blaze3d.matrix.MatrixStack matrices,
int x,
int y,
org.apache.logging.log4j.util.TriConsumer<com.mojang.blaze3d.matrix.MatrixStack,me.shedaniel.math.Point,java.lang.Float> consumer,
int width,
int height,
float delta)
public static void drawHoveringWidget(com.mojang.blaze3d.matrix.MatrixStack matrices,
int screenWidth,
int screenHeight,
int x,
int y,
org.apache.logging.log4j.util.TriConsumer<com.mojang.blaze3d.matrix.MatrixStack,me.shedaniel.math.Point,java.lang.Float> consumer,
int width,
int height,
float delta)
@Deprecated @ApiStatus.Internal @ApiStatus.ScheduledForRemoval public static boolean isDarkModeEnabled()
REIHelper.isDarkThemeEnabled()public boolean isDarkThemeEnabled()
isDarkThemeEnabled in interface REIHelper@NotNull public @NotNull net.minecraft.util.ResourceLocation getDefaultDisplayTexture()
getDefaultDisplayTexture in interface REIHelperpublic static SearchFieldLocation getContextualSearchFieldLocation()
public static me.shedaniel.math.Rectangle getItemListArea(me.shedaniel.math.Rectangle bounds)
public static me.shedaniel.math.Rectangle getFavoritesListArea(me.shedaniel.math.Rectangle bounds)
public static void onOpenScreen(net.minecraftforge.client.event.GuiOpenEvent event)
public static void onClientTick(net.minecraftforge.event.TickEvent.ClientTickEvent event)