From 5bf10e476366e9aff291d55c050a324734bae911 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Thu, 27 Aug 2020 19:47:47 +0800 Subject: Some Nullable and NotNull annotations Signed-off-by: shedaniel --- .../src/main/java/me/shedaniel/rei/api/REIHelper.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/REIHelper.java') 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 getInventoryStacks(); void queueTooltip(@Nullable Tooltip tooltip); + @NotNull ResourceLocation getDefaultDisplayTexture(); } -- cgit