Class RefinedStorageClientApiProxy
java.lang.Object
com.refinedmods.refinedstorage.common.api.RefinedStorageClientApiProxy
- All Implemented Interfaces:
RefinedStorageClientApi
-
Field Summary
Fields inherited from interface com.refinedmods.refinedstorage.common.api.RefinedStorageClientApi
INSTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
<net.minecraft.world.inventory.AbstractContainerMenu> createStorageBlockScreen
(net.minecraft.world.inventory.AbstractContainerMenu menu, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.network.chat.Component title, Class<? extends ResourceKey> resourceClass) Set
<net.minecraft.resources.ResourceLocation> Map
<net.minecraft.world.item.Item, net.minecraft.resources.ResourceLocation> <T extends ResourceKey>
ResourceRenderinggetResourceRendering
(Class<T> resourceClass) void
openAutocraftingPreview
(List<ResourceAmount> requests, net.minecraft.client.gui.screens.Screen parentScreen) void
registerDiskModel
(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation model) <T extends ResourceKey>
voidregisterResourceRendering
(Class<T> resourceClass, ResourceRendering rendering) void
setDelegate
(RefinedStorageClientApi delegate)
-
Constructor Details
-
RefinedStorageClientApiProxy
public RefinedStorageClientApiProxy()
-
-
Method Details
-
setDelegate
-
createStorageBlockScreen
public net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<net.minecraft.world.inventory.AbstractContainerMenu> createStorageBlockScreen(net.minecraft.world.inventory.AbstractContainerMenu menu, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.network.chat.Component title, Class<? extends ResourceKey> resourceClass) - Specified by:
createStorageBlockScreen
in interfaceRefinedStorageClientApi
-
openAutocraftingPreview
public void openAutocraftingPreview(List<ResourceAmount> requests, @Nullable net.minecraft.client.gui.screens.Screen parentScreen) - Specified by:
openAutocraftingPreview
in interfaceRefinedStorageClientApi
-
registerResourceRendering
public <T extends ResourceKey> void registerResourceRendering(Class<T> resourceClass, ResourceRendering rendering) - Specified by:
registerResourceRendering
in interfaceRefinedStorageClientApi
-
getResourceRendering
- Specified by:
getResourceRendering
in interfaceRefinedStorageClientApi
-
addAlternativeGridInsertionHint
- Specified by:
addAlternativeGridInsertionHint
in interfaceRefinedStorageClientApi
-
getGridInsertionHints
- Specified by:
getGridInsertionHints
in interfaceRefinedStorageClientApi
-
registerDiskModel
public void registerDiskModel(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation model) - Specified by:
registerDiskModel
in interfaceRefinedStorageClientApi
-
getDiskModels
- Specified by:
getDiskModels
in interfaceRefinedStorageClientApi
-
getDiskModelsByItem
public Map<net.minecraft.world.item.Item,net.minecraft.resources.ResourceLocation> getDiskModelsByItem()- Specified by:
getDiskModelsByItem
in interfaceRefinedStorageClientApi
-