Class StuckObjectsFeatureRenderer<M extends PlayerEntityModel>

java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<PlayerEntityRenderState,M>
net.minecraft.client.render.entity.feature.StuckObjectsFeatureRenderer<M>
Direct Known Subclasses:
StuckArrowsFeatureRenderer, StuckStingersFeatureRenderer

@Environment(CLIENT) public abstract class StuckObjectsFeatureRenderer<M extends PlayerEntityModel> extends FeatureRenderer<PlayerEntityRenderState,M>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer
intermediary net/minecraft/class_4507
official gwm
  • Field Details

    • model

      private final Model model
      Mappings:
      Namespace Name Mixin selector
      named model Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;model:Lnet/minecraft/client/model/Model;
      intermediary field_53229 Lnet/minecraft/class_4507;field_53229:Lnet/minecraft/class_3879;
      official a Lgwm;a:Lgcg;
    • texture

      private final Identifier texture
      Mappings:
      Namespace Name Mixin selector
      named texture Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;texture:Lnet/minecraft/util/Identifier;
      intermediary field_53230 Lnet/minecraft/class_4507;field_53230:Lnet/minecraft/class_2960;
      official b Lgwm;b:Lalz;
    • renderPosition

      private final StuckObjectsFeatureRenderer.RenderPosition renderPosition
      Mappings:
      Namespace Name Mixin selector
      named renderPosition Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;renderPosition:Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer$RenderPosition;
      intermediary field_53231 Lnet/minecraft/class_4507;field_53231:Lnet/minecraft/class_4507$class_9995;
      official c Lgwm;c:Lgwm$a;
  • Constructor Details

    • StuckObjectsFeatureRenderer

      public StuckObjectsFeatureRenderer(LivingEntityRenderer<?,PlayerEntityRenderState,M> entityRenderer, Model model, Identifier texture, StuckObjectsFeatureRenderer.RenderPosition renderPosition)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/LivingEntityRenderer;Lnet/minecraft/client/model/Model;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer$RenderPosition;)V
      intermediary <init> Lnet/minecraft/class_4507;<init>(Lnet/minecraft/class_922;Lnet/minecraft/class_3879;Lnet/minecraft/class_2960;Lnet/minecraft/class_4507$class_9995;)V
      official <init> Lgwm;<init>(Lgsq;Lgcg;Lalz;Lgwm$a;)V
  • Method Details

    • getObjectCount

      protected abstract int getObjectCount(PlayerEntityRenderState playerRenderState)
      Mappings:
      Namespace Name Mixin selector
      named getObjectCount Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;getObjectCount(Lnet/minecraft/client/render/entity/state/PlayerEntityRenderState;)I
      intermediary method_22134 Lnet/minecraft/class_4507;method_22134(Lnet/minecraft/class_10055;)I
      official a Lgwm;a(Lgzf;)I
    • renderObject

      private void renderObject(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float float2, float directionX, float directionY)
      Mappings:
      Namespace Name Mixin selector
      named renderObject Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;renderObject(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IFFF)V
      intermediary method_22130 Lnet/minecraft/class_4507;method_22130(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IFFF)V
      official a Lgwm;a(Lfgr;Lglk;IFFF)V
    • render

      public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, PlayerEntityRenderState playerEntityRenderState, float float2, float float3)
      Specified by:
      render in class FeatureRenderer<PlayerEntityRenderState,M extends PlayerEntityModel>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/state/PlayerEntityRenderState;FF)V
      intermediary method_22132 Lnet/minecraft/class_4507;method_22132(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_10055;FF)V
      official a Lgwm;a(Lfgr;Lglk;ILgzf;FF)V
    • method_62597

      private static float method_62597(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_62597 Lnet/minecraft/client/render/entity/feature/StuckObjectsFeatureRenderer;method_62597(F)F
      intermediary method_62597 Lnet/minecraft/class_4507;method_62597(F)F
      official a Lgwm;a(F)F