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 official fgn
intermediary net/minecraft/class_989
named net/minecraft/client/render/entity/feature/HeldItemFeatureRenderer
-
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, ModelTransformation.Mode 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 official a
Lfgn;a:Lexq;
intermediary field_38901
Lnet/minecraft/class_989;field_38901:Lnet/minecraft/class_759;
named heldItemRenderer
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;heldItemRenderer:Lnet/minecraft/client/render/item/HeldItemRenderer;
-
-
Constructor Details
-
HeldItemFeatureRenderer
public HeldItemFeatureRenderer(FeatureRendererContext<T, M> context, HeldItemRenderer heldItemRenderer) - Mappings:
Namespace Name Mixin selector official <init>
Lfgn;<init>(Lfei;Lexq;)V
intermediary <init>
Lnet/minecraft/class_989;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_759;)V
named <init>
Lnet/minecraft/client/render/entity/feature/HeldItemFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/item/HeldItemRenderer;)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 official a
Lfgn;a(Ldzt;Lexu;ILbbf;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
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
-
renderItem
protected void renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector official a
Lfgn;a(Lbbf;Lcaa;Leza$b;Lbba;Ldzt;Lexu;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
-