Package net.minecraft.client.render.item
Class ItemRenderState
java.lang.Object
net.minecraft.client.render.item.ItemRenderState
- Direct Known Subclasses:
KeyedItemRenderState
- Mappings:
Namespace Name named net/minecraft/client/render/item/ItemRenderState
intermediary net/minecraft/class_10444
official hog
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
(package private) ItemDisplayContext
private int
private ItemRenderState.LayerRenderState[]
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayers
(int add) void
addModelKey
(Object modelKey) void
clear()
private ItemRenderState.LayerRenderState
getParticleSprite
(Random random) boolean
boolean
isEmpty()
boolean
boolean
void
void
newLayer()
void
render
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) void
setOversizedInGui
(boolean oversizedInGui)
-
Field Details
-
displayContext
ItemDisplayContext displayContext- Mappings:
Namespace Name Mixin selector named displayContext
Lnet/minecraft/client/render/item/ItemRenderState;displayContext:Lnet/minecraft/item/ItemDisplayContext;
intermediary field_55337
Lnet/minecraft/class_10444;field_55337:Lnet/minecraft/class_811;
official a
Lhog;a:Ldct;
-
layerCount
private int layerCount- Mappings:
Namespace Name Mixin selector named layerCount
Lnet/minecraft/client/render/item/ItemRenderState;layerCount:I
intermediary field_55339
Lnet/minecraft/class_10444;field_55339:I
official b
Lhog;b:I
-
animated
private boolean animated- Mappings:
Namespace Name Mixin selector named animated
Lnet/minecraft/client/render/item/ItemRenderState;animated:Z
intermediary field_59981
Lnet/minecraft/class_10444;field_59981:Z
official c
Lhog;c:Z
-
oversizedInGui
private boolean oversizedInGui- Mappings:
Namespace Name Mixin selector named oversizedInGui
Lnet/minecraft/client/render/item/ItemRenderState;oversizedInGui:Z
intermediary field_61030
Lnet/minecraft/class_10444;field_61030:Z
official d
Lhog;d:Z
-
cachedModelBoundingBox
- Mappings:
Namespace Name Mixin selector named cachedModelBoundingBox
Lnet/minecraft/client/render/item/ItemRenderState;cachedModelBoundingBox:Lnet/minecraft/util/math/Box;
intermediary field_61031
Lnet/minecraft/class_10444;field_61031:Lnet/minecraft/class_238;
official e
Lhog;e:Lfin;
-
layers
- Mappings:
Namespace Name Mixin selector named layers
Lnet/minecraft/client/render/item/ItemRenderState;layers:[Lnet/minecraft/client/render/item/ItemRenderState$LayerRenderState;
intermediary field_55340
Lnet/minecraft/class_10444;field_55340:[Lnet/minecraft/class_10444$class_10446;
official f
Lhog;f:[Lhog$b;
-
-
Constructor Details
-
ItemRenderState
public ItemRenderState()
-
-
Method Details
-
addLayers
public void addLayers(int add) - Mappings:
Namespace Name Mixin selector named addLayers
Lnet/minecraft/client/render/item/ItemRenderState;addLayers(I)V
intermediary method_65602
Lnet/minecraft/class_10444;method_65602(I)V
official a
Lhog;a(I)V
-
newLayer
- Mappings:
Namespace Name Mixin selector named newLayer
Lnet/minecraft/client/render/item/ItemRenderState;newLayer()Lnet/minecraft/client/render/item/ItemRenderState$LayerRenderState;
intermediary method_65601
Lnet/minecraft/class_10444;method_65601()Lnet/minecraft/class_10444$class_10446;
official a
Lhog;a()Lhog$b;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/client/render/item/ItemRenderState;clear()V
intermediary method_65605
Lnet/minecraft/class_10444;method_65605()V
official b
Lhog;b()V
-
markAnimated
public void markAnimated()- Mappings:
Namespace Name Mixin selector named markAnimated
Lnet/minecraft/client/render/item/ItemRenderState;markAnimated()V
intermediary method_70947
Lnet/minecraft/class_10444;method_70947()V
official c
Lhog;c()V
-
isAnimated
public boolean isAnimated()- Mappings:
Namespace Name Mixin selector named isAnimated
Lnet/minecraft/client/render/item/ItemRenderState;isAnimated()Z
intermediary method_70948
Lnet/minecraft/class_10444;method_70948()Z
official d
Lhog;d()Z
-
addModelKey
- Mappings:
Namespace Name Mixin selector named addModelKey
Lnet/minecraft/client/render/item/ItemRenderState;addModelKey(Ljava/lang/Object;)V
intermediary method_70946
Lnet/minecraft/class_10444;method_70946(Ljava/lang/Object;)V
official a
Lhog;a(Ljava/lang/Object;)V
-
getFirstLayer
- Mappings:
Namespace Name Mixin selector named getFirstLayer
Lnet/minecraft/client/render/item/ItemRenderState;getFirstLayer()Lnet/minecraft/client/render/item/ItemRenderState$LayerRenderState;
intermediary method_65610
Lnet/minecraft/class_10444;method_65610()Lnet/minecraft/class_10444$class_10446;
official i
Lhog;i()Lhog$b;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmpty
Lnet/minecraft/client/render/item/ItemRenderState;isEmpty()Z
intermediary method_65606
Lnet/minecraft/class_10444;method_65606()Z
official e
Lhog;e()Z
-
isSideLit
public boolean isSideLit()- Mappings:
Namespace Name Mixin selector named isSideLit
Lnet/minecraft/client/render/item/ItemRenderState;isSideLit()Z
intermediary method_65608
Lnet/minecraft/class_10444;method_65608()Z
official f
Lhog;f()Z
-
getParticleSprite
- Mappings:
Namespace Name Mixin selector named getParticleSprite
Lnet/minecraft/client/render/item/ItemRenderState;getParticleSprite(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/client/texture/Sprite;
intermediary method_65603
Lnet/minecraft/class_10444;method_65603(Lnet/minecraft/class_5819;)Lnet/minecraft/class_1058;
official a
Lhog;a(Lbck;)Lhrr;
-
load
- Mappings:
Namespace Name Mixin selector named load
Lnet/minecraft/client/render/item/ItemRenderState;load(Ljava/util/function/Consumer;)V
intermediary method_67991
Lnet/minecraft/class_10444;method_67991(Ljava/util/function/Consumer;)V
official a
Lhog;a(Ljava/util/function/Consumer;)V
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/item/ItemRenderState;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II)V
intermediary method_65604
Lnet/minecraft/class_10444;method_65604(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II)V
official a
Lhog;a(Lfoc;Lgxm;II)V
-
getModelBoundingBox
- Mappings:
Namespace Name Mixin selector named getModelBoundingBox
Lnet/minecraft/client/render/item/ItemRenderState;getModelBoundingBox()Lnet/minecraft/util/math/Box;
intermediary method_72173
Lnet/minecraft/class_10444;method_72173()Lnet/minecraft/class_238;
official g
Lhog;g()Lfin;
-
setOversizedInGui
public void setOversizedInGui(boolean oversizedInGui) - Mappings:
Namespace Name Mixin selector named setOversizedInGui
Lnet/minecraft/client/render/item/ItemRenderState;setOversizedInGui(Z)V
intermediary method_72172
Lnet/minecraft/class_10444;method_72172(Z)V
official a
Lhog;a(Z)V
-
isOversizedInGui
public boolean isOversizedInGui()- Mappings:
Namespace Name Mixin selector named isOversizedInGui
Lnet/minecraft/client/render/item/ItemRenderState;isOversizedInGui()Z
intermediary method_72174
Lnet/minecraft/class_10444;method_72174()Z
official h
Lhog;h()Z
-