Class ParrotEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<ParrotEntity,​ParrotEntityModel>

@Environment(CLIENT)
public class ParrotEntityRenderer
extends MobEntityRenderer<ParrotEntity,​ParrotEntityModel>
Mappings:
Namespace Name
official ens
intermediary net/minecraft/class_930
named net/minecraft/client/render/entity/ParrotEntityRenderer
  • Field Details

    • TEXTURES

      public static final Identifier[] TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official a Lens;a:[Lwb;
      intermediary field_4754 Lnet/minecraft/class_930;field_4754:[Lnet/minecraft/class_2960;
      named TEXTURES Lnet/minecraft/client/render/entity/ParrotEntityRenderer;TEXTURES:[Lnet/minecraft/util/Identifier;
  • Constructor Details

    • ParrotEntityRenderer

      public ParrotEntityRenderer​(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemi;<init>(Lemj$a;)V
      intermediary <init> Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
      named <init> Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
  • Method Details

    • getTexture

      public Identifier getTexture​(ParrotEntity parrotEntity)
      Specified by:
      getTexture in interface FeatureRendererContext<ParrotEntity,​ParrotEntityModel>
      Specified by:
      getTexture in class EntityRenderer<ParrotEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lens;a(Lbbx;)Lwb;
      intermediary method_4080 Lnet/minecraft/class_930;method_4080(Lnet/minecraft/class_1453;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/ParrotEntityRenderer;getTexture(Lnet/minecraft/entity/passive/ParrotEntity;)Lnet/minecraft/util/Identifier;
    • getAnimationProgress

      public float getAnimationProgress​(ParrotEntity parrotEntity, 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<ParrotEntity,​ParrotEntityModel>
      Mappings:
      Namespace Name Mixin selector
      official a Lens;a(Lbbx;F)F
      intermediary method_4081 Lnet/minecraft/class_930;method_4081(Lnet/minecraft/class_1453;F)F
      named getAnimationProgress Lnet/minecraft/client/render/entity/ParrotEntityRenderer;getAnimationProgress(Lnet/minecraft/entity/passive/ParrotEntity;F)F