Class AbstractPlatformGridResource<T extends PlatformResourceKey>
java.lang.Object
com.refinedmods.refinedstorage.common.api.grid.view.AbstractPlatformGridResource<T>
- All Implemented Interfaces:
GridResource
,PlatformGridResource
- Direct Known Subclasses:
FluidGridResource
,ItemGridResource
@API(status=STABLE,
since="2.0.0-milestone.3.0")
public abstract class AbstractPlatformGridResource<T extends PlatformResourceKey>
extends Object
implements PlatformGridResource
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPlatformGridResource
(T resource, String name, Map<GridResourceAttributeKey, Set<String>> attributes) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.refinedmods.refinedstorage.common.api.grid.view.PlatformGridResource
belongsToResourceType, canExtract, getAmountInTooltip, getDisplayedAmount, getExtractionHints, getRegistryId, getTooltip, getTooltipImage, onExtract, onScroll, render
-
Field Details
-
resource
-
-
Constructor Details
-
AbstractPlatformGridResource
-
-
Method Details
-
getTrackedResource
- Specified by:
getTrackedResource
in interfaceGridResource
-
getAmount
- Specified by:
getAmount
in interfaceGridResource
-
getName
- Specified by:
getName
in interfaceGridResource
-
getAttribute
- Specified by:
getAttribute
in interfaceGridResource
-
isZeroed
public boolean isZeroed()- Specified by:
isZeroed
in interfaceGridResource
-
setZeroed
public void setZeroed(boolean zeroed) - Specified by:
setZeroed
in interfaceGridResource
-
getResourceForRecipeMods
- Specified by:
getResourceForRecipeMods
in interfacePlatformGridResource
-
toString
-