Class ClientPlatformUtil
java.lang.Object
com.refinedmods.refinedstorage.common.util.ClientPlatformUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addNoPermissionToast
(net.minecraft.network.chat.Component message) static void
autocraftingPreviewMaxAmountResponseReceived
(long maxAmount) static void
autocraftingPreviewResponseReceived
(UUID id, Preview 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() -
addNoPermissionToast
public static void addNoPermissionToast(net.minecraft.network.chat.Component message) -
autocraftingPreviewResponseReceived
-
autocraftingResponseReceived
-
autocraftingPreviewMaxAmountResponseReceived
public static void autocraftingPreviewMaxAmountResponseReceived(long maxAmount) -
openCraftingPreview
public static void openCraftingPreview(List<ResourceAmount> requests, @Nullable Object parentScreen) -
autocraftingTaskCompleted
-