Class PlayerHeldItemFeatureRenderer<S extends PlayerEntityRenderState,M extends EntityModel<S> & ModelWithArms & ModelWithHead>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<S,M>
net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer<S,M>
net.minecraft.client.render.entity.feature.PlayerHeldItemFeatureRenderer<S,M>
@Environment(CLIENT)
public class PlayerHeldItemFeatureRenderer<S extends PlayerEntityRenderState,M extends EntityModel<S> & ModelWithArms & ModelWithHead>
extends HeldItemFeatureRenderer<S,M>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer
intermediary net/minecraft/class_5697
official gwd
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private final ItemRenderer
-
Constructor Summary
ConstructorDescriptionPlayerHeldItemFeatureRenderer
(FeatureRendererContext<S, M> context, ItemRenderer itemRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
renderItem
(S s, @Nullable BakedModel bakedModel, ItemStack itemStack, ModelTransformationMode modelTransformationMode, Arm arm, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) private void
renderSpyglass
(BakedModel model, ItemStack stack, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) Methods inherited from class net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer
render
Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, render, renderModel
-
Field Details
-
HEAD_YAW
private static final float HEAD_YAW- See Also:
- Mappings:
Namespace Name Mixin selector named HEAD_YAW
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;HEAD_YAW:F
intermediary field_32944
Lnet/minecraft/class_5697;field_32944:F
official b
Lgwd;b:F
-
HEAD_ROLL
private static final float HEAD_ROLL- See Also:
- Mappings:
Namespace Name Mixin selector named HEAD_ROLL
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;HEAD_ROLL:F
intermediary field_32945
Lnet/minecraft/class_5697;field_32945:F
official c
Lgwd;c:F
-
playerHeldItemRenderer
- Mappings:
Namespace Name Mixin selector named playerHeldItemRenderer
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;playerHeldItemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
intermediary field_38904
Lnet/minecraft/class_5697;field_38904:Lnet/minecraft/class_918;
official a
Lgwd;a:Lgsn;
-
-
Constructor Details
-
PlayerHeldItemFeatureRenderer
public PlayerHeldItemFeatureRenderer(FeatureRendererContext<S, M> context, ItemRenderer itemRenderer) - 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
-
renderItem
protected void renderItem(S s, @Nullable @Nullable BakedModel bakedModel, ItemStack itemStack, ModelTransformationMode modelTransformationMode, Arm arm, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
renderItem
in classHeldItemFeatureRenderer<S extends PlayerEntityRenderState,
M extends EntityModel<S> & ModelWithArms & ModelWithHead> - Mappings:
Namespace Name Mixin selector named renderItem
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;renderItem(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;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_62594
Lnet/minecraft/class_5697;method_62594(Lnet/minecraft/class_10055;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
Lgwd;a(Lgzf;Lhdm;Lcxo;Lcxm;Lbvz;Lfgr;Lglk;I)V
-
renderSpyglass
private void renderSpyglass(BakedModel model, ItemStack stack, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector named renderSpyglass
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;renderSpyglass(Lnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_32799
Lnet/minecraft/class_5697;method_32799(Lnet/minecraft/class_1087;Lnet/minecraft/class_1799;Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgwd;a(Lhdm;Lcxo;Lbvz;Lfgr;Lglk;I)V
-