Class HeldItemFeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S> & ModelWithArms>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<S,M>
net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer<S,M>
- Direct Known Subclasses:
PlayerHeldItemFeatureRenderer
@Environment(CLIENT)
public class HeldItemFeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S> & ModelWithArms>
extends FeatureRenderer<S,M>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/feature/HeldItemFeatureRenderer
intermediary net/minecraft/class_989
official gvw
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHeldItemFeatureRenderer
(FeatureRendererContext<S, M> context, ItemRenderer itemRenderer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) protected void
renderItem
(S state, @Nullable BakedModel model, ItemStack stack, ModelTransformationMode modelTransformation, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, render, renderModel
-
Field Details
-
itemRenderer
- Mappings:
Namespace Name Mixin selector named itemRenderer
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
intermediary field_38901
Lnet/minecraft/class_989;field_38901:Lnet/minecraft/class_918;
official a
Lgvw;a:Lgsn;
-
-
Constructor Details
-
HeldItemFeatureRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/item/ItemRenderer;)V
intermediary <init>
Lnet/minecraft/class_989;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_918;)V
official <init>
Lgvw;<init>(Lgtm;Lgsn;)V
-
-
Method Details
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) - Specified by:
render
in classFeatureRenderer<S extends LivingEntityRenderState,
M extends EntityModel<S> & ModelWithArms> - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/state/LivingEntityRenderState;FF)V
intermediary method_17162
Lnet/minecraft/class_989;method_17162(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_10042;FF)V
official a
Lgvw;a(Lfgr;Lglk;ILgys;FF)V
-
renderItem
protected void renderItem(S state, @Nullable @Nullable BakedModel model, ItemStack stack, ModelTransformationMode modelTransformation, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector named renderItem
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;renderItem(Lnet/minecraft/client/render/entity/state/LivingEntityRenderState;Lnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ModelTransformationMode;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_4192
Lnet/minecraft/class_989;method_4192(Lnet/minecraft/class_10042;Lnet/minecraft/class_1087;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgvw;a(Lgys;Lhdm;Lcxo;Lcxm;Lbvz;Lfgr;Lglk;I)V
-