Class FluidResourceRendering
java.lang.Object
com.refinedmods.refinedstorage.common.support.resource.FluidResourceRendering
- All Implemented Interfaces:
ResourceRendering
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatAmount(long amount, boolean withUnits) net.minecraft.network.chat.ComponentgetDisplayName(ResourceKey resource) List<net.minecraft.network.chat.Component> getTooltip(ResourceKey resource) voidrender(ResourceKey resource, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource renderTypeBuffer, int light, net.minecraft.world.level.Level level) voidrender(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, waitMethods inherited from interface com.refinedmods.refinedstorage.common.api.support.resource.ResourceRendering
formatAmount
-
Constructor Details
-
FluidResourceRendering
public FluidResourceRendering(long bucketAmount)
-
-
Method Details
-
formatAmount
- Specified by:
formatAmountin interfaceResourceRendering
-
getDisplayName
- Specified by:
getDisplayNamein interfaceResourceRendering
-
getTooltip
- Specified by:
getTooltipin interfaceResourceRendering
-
render
public void render(ResourceKey resource, net.minecraft.client.gui.GuiGraphics graphics, int x, int y) - Specified by:
renderin 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:
renderin interfaceResourceRendering
-