Class SquidEntityRenderer<T extends SquidEntity>

All Implemented Interfaces:
FeatureRendererContext<T,SquidEntityModel<T>>
Direct Known Subclasses:
GlowSquidEntityRenderer

@Environment(CLIENT) public class SquidEntityRenderer<T extends SquidEntity> extends MobEntityRenderer<T,SquidEntityModel<T>>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/SquidEntityRenderer
intermediary net/minecraft/class_951
official glh
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TEXTURE Lnet/minecraft/client/render/entity/SquidEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_4791 Lnet/minecraft/class_951;field_4791:Lnet/minecraft/class_2960;
      official a Lglh;a:Lalf;
  • Constructor Details

    • SquidEntityRenderer

      public SquidEntityRenderer(EntityRendererFactory.Context ctx, SquidEntityModel<T> model)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/SquidEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/SquidEntityModel;)V
      intermediary <init> Lnet/minecraft/class_951;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_610;)V
      official <init> Lglh;<init>(Lgiz$a;Lfwe;)V
  • Method Details

    • getTexture

      public Identifier getTexture(T t)
      Specified by:
      getTexture in interface FeatureRendererContext<T extends SquidEntity,SquidEntityModel<T extends SquidEntity>>
      Specified by:
      getTexture in class EntityRenderer<T extends SquidEntity>
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/render/entity/SquidEntityRenderer;getTexture(Lnet/minecraft/entity/passive/SquidEntity;)Lnet/minecraft/util/Identifier;
      intermediary method_4127 Lnet/minecraft/class_951;method_4127(Lnet/minecraft/class_1477;)Lnet/minecraft/class_2960;
      official a Lglh;a(Lcgg;)Lalf;
    • setupTransforms

      protected void setupTransforms(T t, MatrixStack matrixStack, float float2, float float3, float float4, float float5)
      Overrides:
      setupTransforms in class LivingEntityRenderer<T extends SquidEntity,SquidEntityModel<T extends SquidEntity>>
      Mappings:
      Namespace Name Mixin selector
      named setupTransforms Lnet/minecraft/client/render/entity/SquidEntityRenderer;setupTransforms(Lnet/minecraft/entity/passive/SquidEntity;Lnet/minecraft/client/util/math/MatrixStack;FFFF)V
      intermediary method_4126 Lnet/minecraft/class_951;method_4126(Lnet/minecraft/class_1477;Lnet/minecraft/class_4587;FFFF)V
      official a Lglh;a(Lcgg;Lfaa;FFFF)V
    • getAnimationProgress

      protected float getAnimationProgress(T t, float float2)
      Description copied from class: LivingEntityRenderer
      This value is passed to other methods when calculating angles for animation. It's typically just the sum of the entity's age (in ticks) and the passed in tickDelta.
      Overrides:
      getAnimationProgress in class LivingEntityRenderer<T extends SquidEntity,SquidEntityModel<T extends SquidEntity>>
      Mappings:
      Namespace Name Mixin selector
      named getAnimationProgress Lnet/minecraft/client/render/entity/SquidEntityRenderer;getAnimationProgress(Lnet/minecraft/entity/passive/SquidEntity;F)F
      intermediary method_4125 Lnet/minecraft/class_951;method_4125(Lnet/minecraft/class_1477;F)F
      official a Lglh;a(Lcgg;F)F