Enum Class ItemResourceRendering
java.lang.Object
java.lang.Enum<ItemResourceRendering>
com.refinedmods.refinedstorage.common.support.resource.ItemResourceRendering
- All Implemented Interfaces:
ResourceRendering, Serializable, Comparable<ItemResourceRendering>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
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.SubmitNodeCollector nodes, int light, long seed) voidrender(ResourceKey resource, net.minecraft.client.gui.GuiGraphicsExtractor graphics, int x, int y) static ItemResourceRenderingReturns the enum constant of this class with the specified name.static ItemResourceRendering[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ResourceRendering
formatAmount
-
Enum Constant Details
-
INSTANCE
-
-
Field Details
-
IN_WORLD_SCALE
public static final org.joml.Matrix4f IN_WORLD_SCALE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
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.GuiGraphicsExtractor 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.SubmitNodeCollector nodes, int light, long seed) - Specified by:
renderin interfaceResourceRendering
-