Class HeldItemFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithArms>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer<T,M>
- Direct Known Subclasses:
PlayerHeldItemFeatureRenderer
@Environment(CLIENT)
public class HeldItemFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithArms>
extends FeatureRenderer<T,M>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/feature/HeldItemFeatureRenderer
intermediary net/minecraft/class_989
official goi
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHeldItemFeatureRenderer
(FeatureRendererContext<T, M> context, HeldItemRenderer heldItemRenderer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) protected void
renderItem
(LivingEntity entity, ItemStack stack, ModelTransformationMode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, getTexture, render, renderModel
-
Field Details
-
heldItemRenderer
- Mappings:
Namespace Name Mixin selector named heldItemRenderer
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;heldItemRenderer:Lnet/minecraft/client/render/item/HeldItemRenderer;
intermediary field_38901
Lnet/minecraft/class_989;field_38901:Lnet/minecraft/class_759;
official a
Lgoi;a:Lgep;
-
-
Constructor Details
-
HeldItemFeatureRenderer
public HeldItemFeatureRenderer(FeatureRendererContext<T, M> context, HeldItemRenderer heldItemRenderer) - 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/HeldItemRenderer;)V
intermediary <init>
Lnet/minecraft/class_989;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_759;)V
official <init>
Lgoi;<init>(Lglz;Lgep;)V
-
-
Method Details
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) - Specified by:
render
in classFeatureRenderer<T extends LivingEntity,
M extends EntityModel<T> & 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/entity/LivingEntity;FFFFFF)V
intermediary method_17162
Lnet/minecraft/class_989;method_17162(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)V
official a
Lgoi;a(Lfbc;Lget;ILbtl;FFFFFF)V
-
renderItem
protected void renderItem(LivingEntity entity, ItemStack stack, ModelTransformationMode transformationMode, 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/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/json/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_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgoi;a(Lbtl;Lcuo;Lcul;Lbtf;Lfbc;Lget;I)V
-