Class ClientPlatformUtil
java.lang.Object
com.refinedmods.refinedstorage.common.util.ClientPlatformUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addMessageToast
(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component message) static void
static void
autocraftingPreviewMaxAmountResponseReceived
(long maxAmount) static void
autocraftingPreviewResponseReceived
(UUID id, Preview preview) static void
autocraftingPreviewResponseReceived
(UUID id, TreePreview preview) static void
autocraftingResponseReceived
(UUID id, boolean success) static void
autocraftingTaskCompleted
(PlatformResourceKey resource, long amount) static net.minecraft.world.level.Level
static void
openCraftingPreview
(List<ResourceAmount> requests, Object parentScreen)
-
Method Details
-
getClientLevel
@Nullable public static net.minecraft.world.level.Level getClientLevel() -
addMessageToast
public static void addMessageToast(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component message) -
autocraftingPreviewResponseReceived
-
autocraftingPreviewResponseReceived
-
autocraftingPreviewCancelResponseReceived
public static void autocraftingPreviewCancelResponseReceived() -
autocraftingResponseReceived
-
autocraftingPreviewMaxAmountResponseReceived
public static void autocraftingPreviewMaxAmountResponseReceived(long maxAmount) -
openCraftingPreview
public static void openCraftingPreview(List<ResourceAmount> requests, @Nullable Object parentScreen) -
autocraftingTaskCompleted
-