Interface PlatformGridResource
- All Superinterfaces:
GridResource
- All Known Implementing Classes:
AbstractPlatformGridResource
,FluidGridResource
,ItemGridResource
@API(status=STABLE,
since="2.0.0-milestone.2.6")
public interface PlatformGridResource
extends GridResource
-
Method Summary
Modifier and TypeMethodDescriptionboolean
belongsToResourceType
(ResourceType resourceType) boolean
canExtract
(net.minecraft.world.item.ItemStack carriedStack, GridView view) getAmountInTooltip
(GridView view) getDisplayedAmount
(GridView view) List
<net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent> getExtractionHints
(net.minecraft.world.item.ItemStack carriedStack, GridView view) int
List
<net.minecraft.network.chat.Component> Optional
<net.minecraft.world.inventory.tooltip.TooltipComponent> void
onExtract
(GridExtractMode extractMode, boolean cursor, GridExtractionStrategy extractionStrategy) void
onScroll
(GridScrollMode scrollMode, GridScrollingStrategy scrollingStrategy) void
render
(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) Methods inherited from interface com.refinedmods.refinedstorage.api.grid.view.GridResource
getAmount, getAttribute, getName, getTrackedResource, isAutocraftable
-
Method Details
-
canExtract
-
onExtract
void onExtract(GridExtractMode extractMode, boolean cursor, GridExtractionStrategy extractionStrategy) -
onScroll
-
render
void render(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) -
getDisplayedAmount
-
getAmountInTooltip
-
belongsToResourceType
-
getTooltip
List<net.minecraft.network.chat.Component> getTooltip() -
getTooltipImage
Optional<net.minecraft.world.inventory.tooltip.TooltipComponent> getTooltipImage() -
getRegistryId
int getRegistryId() -
getExtractionHints
-
getAutocraftingRequest
-
getResourceForRecipeMods
-