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
official exp
intermediary net/minecraft/class_951
named net/minecraft/client/render/entity/SquidEntityRenderer
  • Field Details

    • TEXTURE

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

    • SquidEntityRenderer

      public SquidEntityRenderer(EntityRendererFactory.Context ctx, SquidEntityModel<T> model)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexp;<init>(Levk$a;Lelh;)V
      intermediary <init> Lnet/minecraft/class_951;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_610;)V
      named <init> Lnet/minecraft/client/render/entity/SquidEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/SquidEntityModel;)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
      official a Lexp;a(Lbja;)Lyt;
      intermediary method_4127 Lnet/minecraft/class_951;method_4127(Lnet/minecraft/class_1477;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/SquidEntityRenderer;getTexture(Lnet/minecraft/entity/passive/SquidEntity;)Lnet/minecraft/util/Identifier;
    • setupTransforms

      protected void setupTransforms(T t, MatrixStack matrixStack, float float2, float float3, float float4)
      Overrides:
      setupTransforms in class LivingEntityRenderer<T extends SquidEntity,SquidEntityModel<T extends SquidEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lexp;a(Lbja;Ldtm;FFF)V
      intermediary method_4126 Lnet/minecraft/class_951;method_4126(Lnet/minecraft/class_1477;Lnet/minecraft/class_4587;FFF)V
      named setupTransforms Lnet/minecraft/client/render/entity/SquidEntityRenderer;setupTransforms(Lnet/minecraft/entity/passive/SquidEntity;Lnet/minecraft/client/util/math/MatrixStack;FFF)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
      official a Lexp;a(Lbja;F)F
      intermediary method_4125 Lnet/minecraft/class_951;method_4125(Lnet/minecraft/class_1477;F)F
      named getAnimationProgress Lnet/minecraft/client/render/entity/SquidEntityRenderer;getAnimationProgress(Lnet/minecraft/entity/passive/SquidEntity;F)F