Class PlayerHeldItemFeatureRenderer<T extends PlayerEntity,M extends EntityModel<T> & ModelWithArms & ModelWithHead>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer<T,M>
net.minecraft.client.render.entity.feature.PlayerHeldItemFeatureRenderer<T,M>
@Environment(CLIENT)
public class PlayerHeldItemFeatureRenderer<T extends PlayerEntity,M extends EntityModel<T> & ModelWithArms & ModelWithHead>
extends HeldItemFeatureRenderer<T,M>
- Mappings:
Namespace Name official exr
intermediary net/minecraft/class_5697
named net/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
renderItem
(LivingEntity entity, ItemStack stack, ModelTransformation.Mode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) private void
renderSpyglass
(LivingEntity entity, 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, getTexture, render, renderModel
-
Field Details
-
HEAD_YAW
private static final float HEAD_YAW- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lexr;a:F
intermediary field_32944
Lnet/minecraft/class_5697;field_32944:F
named HEAD_YAW
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;HEAD_YAW:F
-
HEAD_ROLL
private static final float HEAD_ROLL- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lexr;b:F
intermediary field_32945
Lnet/minecraft/class_5697;field_32945:F
named HEAD_ROLL
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;HEAD_ROLL:F
-
-
Constructor Details
-
PlayerHeldItemFeatureRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lexs;<init>(Levi;)V
intermediary <init>
Lnet/minecraft/class_3887;<init>(Lnet/minecraft/class_3883;)V
named <init>
Lnet/minecraft/client/render/entity/feature/FeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;)V
-
-
Method Details
-
renderItem
protected void renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Overrides:
renderItem
in classHeldItemFeatureRenderer<T extends PlayerEntity,
M extends EntityModel<T> & ModelWithArms & ModelWithHead> - Mappings:
Namespace Name Mixin selector official a
Lexl;a(Laxa;Lbtx;Leqe$b;Lawv;Ldrw;Leoy;I)V
intermediary method_4192
Lnet/minecraft/class_989;method_4192(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_809$class_811;Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named renderItem
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;renderItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
renderSpyglass
private void renderSpyglass(LivingEntity entity, ItemStack stack, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector official a
Lexr;a(Laxa;Lbtx;Lawv;Ldrw;Leoy;I)V
intermediary method_32799
Lnet/minecraft/class_5697;method_32799(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named renderSpyglass
Lnet/minecraft/client/render/entity/feature/PlayerHeldItemFeatureRenderer;renderSpyglass(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-