aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-08-27 19:47:47 +0800
committershedaniel <daniel@shedaniel.me>2020-08-27 19:47:47 +0800
commit5bf10e476366e9aff291d55c050a324734bae911 (patch)
treeb056d52c273c55d6e4e6d86da3abd971e6cdbf1e /RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java
parent6104964f60bac00a4ac1359bd244d361e50786bd (diff)
downloadRoughlyEnoughItems-5bf10e476366e9aff291d55c050a324734bae911.tar.gz
RoughlyEnoughItems-5bf10e476366e9aff291d55c050a324734bae911.tar.bz2
RoughlyEnoughItems-5bf10e476366e9aff291d55c050a324734bae911.zip
Some Nullable and NotNull annotations
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java')
-rw-r--r--RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java
index f6df5ab92..126358513 100644
--- a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java
+++ b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java
@@ -32,6 +32,7 @@ import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.ItemStack;
import org.jetbrains.annotations.ApiStatus;
+import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
@@ -59,11 +60,15 @@ public interface REIHelper {
boolean isDarkThemeEnabled();
+ @Nullable
TextFieldWidget getSearchTextField();
+ @NotNull
+ @ApiStatus.Internal
List<ItemStack> getInventoryStacks();
void queueTooltip(@Nullable Tooltip tooltip);
+ @NotNull
ResourceLocation getDefaultDisplayTexture();
}