Class PigEntityRenderer


@Environment(CLIENT)
public class PigEntityRenderer
extends MobEntityRenderer<PigEntity>
Mappings:
Namespace Name
official bjs
intermediary net/minecraft/class_1161
named net/minecraft/client/render/entity/PigEntityRenderer
  • Field Details

    • PIG_TEX

      private static final Identifier PIG_TEX
      Mappings:
      Namespace Name Mixin selector
      official a Lbjs;a:Ljy;
      intermediary field_4909 Lnet/minecraft/class_1161;field_4909:Lnet/minecraft/class_1605;
      named PIG_TEX Lnet/minecraft/client/render/entity/PigEntityRenderer;PIG_TEX:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • PigEntityRenderer

      public PigEntityRenderer​(EntityRenderDispatcher dispatcher, EntityModel model, float shadowSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjl;<init>(Lbiu;Lbbo;F)V
      intermediary <init> Lnet/minecraft/class_1154;<init>(Lnet/minecraft/class_1135;Lnet/minecraft/class_871;F)V
      named <init> Lnet/minecraft/client/render/entity/LivingEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRenderDispatcher;Lnet/minecraft/client/render/entity/model/EntityModel;F)V
  • Method Details

    • getTexture

      protected Identifier getTexture​(PigEntity pigEntity)
      Specified by:
      getTexture in class EntityRenderer<PigEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbjs;a(Ltt;)Ljy;
      intermediary method_4039 Lnet/minecraft/class_1161;method_4039(Lnet/minecraft/class_1855;)Lnet/minecraft/class_1605;
      named getTexture Lnet/minecraft/client/render/entity/PigEntityRenderer;getTexture(Lnet/minecraft/entity/passive/PigEntity;)Lnet/minecraft/util/Identifier;