Class PiglinEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<PiglinEntityRenderState,PiglinEntityModel>

Mappings:
Namespace Name
named net/minecraft/client/render/entity/PiglinEntityRenderer
intermediary net/minecraft/class_4842
official gtf
  • Field Details

    • PIGLIN_TEXTURE

      private static final Identifier PIGLIN_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named PIGLIN_TEXTURE Lnet/minecraft/client/render/entity/PiglinEntityRenderer;PIGLIN_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_53196 Lnet/minecraft/class_4842;field_53196:Lnet/minecraft/class_2960;
      official b Lgtf;b:Lalz;
    • PIGLIN_BRUTE_TEXTURE

      private static final Identifier PIGLIN_BRUTE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named PIGLIN_BRUTE_TEXTURE Lnet/minecraft/client/render/entity/PiglinEntityRenderer;PIGLIN_BRUTE_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_53197 Lnet/minecraft/class_4842;field_53197:Lnet/minecraft/class_2960;
      official k Lgtf;k:Lalz;
    • HEAD_TRANSFORMATION

      public static final HeadFeatureRenderer.HeadTransformation HEAD_TRANSFORMATION
      Mappings:
      Namespace Name Mixin selector
      named HEAD_TRANSFORMATION Lnet/minecraft/client/render/entity/PiglinEntityRenderer;HEAD_TRANSFORMATION:Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;
      intermediary field_53195 Lnet/minecraft/class_4842;field_53195:Lnet/minecraft/class_976$class_9994;
      official a Lgtf;a:Lgvi$a;
  • Constructor Details

    • PiglinEntityRenderer

      public PiglinEntityRenderer(EntityRendererFactory.Context ctx, EntityModelLayer mainLayer, EntityModelLayer babyMainLayer, EntityModelLayer armorInnerLayer, EntityModelLayer armorOuterLayer, EntityModelLayer babyArmorInnerLayer, EntityModelLayer babyArmorOuterLayer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/PiglinEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;Lnet/minecraft/client/render/entity/model/EntityModelLayer;)V
      intermediary <init> Lnet/minecraft/class_4842;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;Lnet/minecraft/class_5601;)V
      official <init> Lgtf;<init>(Lgrp$a;Lgel;Lgel;Lgel;Lgel;Lgel;Lgel;)V
  • Method Details

    • getTexture

      public Identifier getTexture(PiglinEntityRenderState piglinEntityRenderState)
      Specified by:
      getTexture in class LivingEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/render/entity/PiglinEntityRenderer;getTexture(Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;)Lnet/minecraft/util/Identifier;
      intermediary method_3982 Lnet/minecraft/class_4842;method_3982(Lnet/minecraft/class_10054;)Lnet/minecraft/class_2960;
      official a Lgtf;a(Lgze;)Lalz;
    • createRenderState

      public PiglinEntityRenderState createRenderState()
      Specified by:
      createRenderState in class EntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named createRenderState Lnet/minecraft/client/render/entity/PiglinEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;
      intermediary method_62509 Lnet/minecraft/class_4842;method_62509()Lnet/minecraft/class_10054;
      official b Lgtf;b()Lgze;
    • updateRenderState

      public void updateRenderState(AbstractPiglinEntity abstractPiglinEntity, PiglinEntityRenderState piglinEntityRenderState, float float2)
      Overrides:
      updateRenderState in class BipedEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
      Mappings:
      Namespace Name Mixin selector
      named updateRenderState Lnet/minecraft/client/render/entity/PiglinEntityRenderer;updateRenderState(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;F)V
      intermediary method_62508 Lnet/minecraft/class_4842;method_62508(Lnet/minecraft/class_5418;Lnet/minecraft/class_10054;F)V
      official a Lgtf;a(Lcoj;Lgze;F)V
    • isShaking

      protected boolean isShaking(PiglinEntityRenderState piglinEntityRenderState)
      Description copied from class: LivingEntityRenderer
      Returns if this entity is shaking. Specifically, in the way a zombie villager, zombie, husk, or piglin undergoing conversion shakes.
      Overrides:
      isShaking in class LivingEntityRenderer<AbstractPiglinEntity,PiglinEntityRenderState,PiglinEntityModel>
      Returns:
      if this entity is shaking
      Mappings:
      Namespace Name Mixin selector
      named isShaking Lnet/minecraft/client/render/entity/PiglinEntityRenderer;isShaking(Lnet/minecraft/client/render/entity/state/PiglinEntityRenderState;)Z
      intermediary method_25451 Lnet/minecraft/class_4842;method_25451(Lnet/minecraft/class_10054;)Z
      official b Lgtf;b(Lgze;)Z