Interface RefinedStorageClientApi
- All Known Implementing Classes:
RefinedStorageClientApiImpl,RefinedStorageClientApiProxy
@API(status=STABLE,
since="2.0.0-milestone.4.11")
public interface RefinedStorageClientApi
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidnet.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) voidopenAutocraftingPreview(List<ResourceAmount> requests, net.minecraft.client.gui.screens.Screen parentScreen) voidregisterDiskModel(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation model) <T extends ResourceKey>
voidregisterResourceRendering(Class<T> resourceClass, ResourceRendering rendering)
-
Field Details
-
INSTANCE
-
-
Method Details
-
createStorageBlockScreen
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) -
openAutocraftingPreview
void openAutocraftingPreview(List<ResourceAmount> requests, @Nullable net.minecraft.client.gui.screens.Screen parentScreen) -
registerResourceRendering
<T extends ResourceKey> void registerResourceRendering(Class<T> resourceClass, ResourceRendering rendering) -
getResourceRendering
-
addAlternativeGridInsertionHint
-
getGridInsertionHints
GridInsertionHints getGridInsertionHints() -
registerDiskModel
void registerDiskModel(net.minecraft.world.item.Item item, net.minecraft.resources.ResourceLocation model) -
getDiskModels
Set<net.minecraft.resources.ResourceLocation> getDiskModels() -
getDiskModelsByItem
Map<net.minecraft.world.item.Item,net.minecraft.resources.ResourceLocation> getDiskModelsByItem()
-