Class ClientPlatformUtil
java.lang.Object
com.refinedmods.refinedstorage.common.util.ClientPlatformUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddMessageToast(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component message) static voidstatic voidautocraftingPreviewMaxAmountResponseReceived(long maxAmount) static voidautocraftingPreviewResponseReceived(UUID id, Preview preview) static voidautocraftingPreviewResponseReceived(UUID id, TreePreview preview) static voidautocraftingResponseReceived(UUID id, boolean success) static voidautocraftingTaskCompleted(PlatformResourceKey resource, long amount) static net.minecraft.world.level.Levelstatic voidopenCraftingPreview(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
-