Class HoglinEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<HoglinEntity,​HoglinEntityModel<HoglinEntity>>

@Environment(CLIENT) public class HoglinEntityRenderer extends MobEntityRenderer<HoglinEntity,​HoglinEntityModel<HoglinEntity>>
Mappings:
Namespace Name
official esl
intermediary net/minecraft/class_4798
named net/minecraft/client/render/entity/HoglinEntityRenderer
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lesl;a:Lww;
      intermediary field_22244 Lnet/minecraft/class_4798;field_22244:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/render/entity/HoglinEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • HoglinEntityRenderer

      public HoglinEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerw;<init>(Lerx$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(HoglinEntity hoglinEntity)
      Specified by:
      getTexture in interface FeatureRendererContext<HoglinEntity,​HoglinEntityModel<HoglinEntity>>
      Specified by:
      getTexture in class EntityRenderer<HoglinEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lesl;a(Lbit;)Lww;
      intermediary method_24472 Lnet/minecraft/class_4798;method_24472(Lnet/minecraft/class_4760;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/HoglinEntityRenderer;getTexture(Lnet/minecraft/entity/mob/HoglinEntity;)Lnet/minecraft/util/Identifier;
    • isShaking

      protected boolean isShaking(HoglinEntity hoglinEntity)
      Description copied from class: LivingEntityRenderer
      Returns if this entity is shaking in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes. husk, or piglin are undergoing conversion.
      Overrides:
      isShaking in class LivingEntityRenderer<HoglinEntity,​HoglinEntityModel<HoglinEntity>>
      Mappings:
      Namespace Name Mixin selector
      official b Lesl;b(Lbit;)Z
      intermediary method_27038 Lnet/minecraft/class_4798;method_27038(Lnet/minecraft/class_4760;)Z
      named isShaking Lnet/minecraft/client/render/entity/HoglinEntityRenderer;isShaking(Lnet/minecraft/entity/mob/HoglinEntity;)Z