Class FluidResourceRendering
java.lang.Object
com.refinedmods.refinedstorage.common.support.resource.FluidResourceRendering
- All Implemented Interfaces:
ResourceRendering
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformatAmount
(long amount, boolean withUnits) net.minecraft.network.chat.Component
getDisplayName
(ResourceKey resource) List
<net.minecraft.network.chat.Component> getTooltip
(ResourceKey resource) void
render
(ResourceKey resource, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int light, net.minecraft.world.level.Level level) void
render
(ResourceKey resource, net.minecraft.client.gui.GuiGraphics graphics, int x, int y) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.refinedmods.refinedstorage.common.api.support.resource.ResourceRendering
formatAmount
-
Constructor Details
-
FluidResourceRendering
public FluidResourceRendering(long bucketAmount)
-
-
Method Details
-
formatAmount
- Specified by:
formatAmount
in interfaceResourceRendering
-
getDisplayName
- Specified by:
getDisplayName
in interfaceResourceRendering
-
getTooltip
- Specified by:
getTooltip
in interfaceResourceRendering
-
render
public void render(ResourceKey resource, net.minecraft.client.gui.GuiGraphics graphics, int x, int y) - Specified by:
render
in interfaceResourceRendering
-
render
public void render(ResourceKey resource, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int light, net.minecraft.world.level.Level level) - Specified by:
render
in interfaceResourceRendering
-