Class PufferfishEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<PufferfishEntity,EntityModel<PufferfishEntity>>

@Environment(CLIENT) public class PufferfishEntityRenderer extends MobEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
Mappings:
Namespace Name
official evf
intermediary net/minecraft/class_936
named net/minecraft/client/render/entity/PufferfishEntityRenderer
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Levf;a:Lyb;
      intermediary field_4762 Lnet/minecraft/class_936;field_4762:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
    • modelSize

      private int modelSize
      Mappings:
      Namespace Name Mixin selector
      official i Levf;i:I
      intermediary field_4765 Lnet/minecraft/class_936;field_4765:I
      named modelSize Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;modelSize:I
    • smallModel

      private final EntityModel<PufferfishEntity> smallModel
      Mappings:
      Namespace Name Mixin selector
      official j Levf;j:Lehq;
      intermediary field_4761 Lnet/minecraft/class_936;field_4761:Lnet/minecraft/class_583;
      named smallModel Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;smallModel:Lnet/minecraft/client/render/entity/model/EntityModel;
    • mediumModel

      private final EntityModel<PufferfishEntity> mediumModel
      Mappings:
      Namespace Name Mixin selector
      official k Levf;k:Lehq;
      intermediary field_4764 Lnet/minecraft/class_936;field_4764:Lnet/minecraft/class_583;
      named mediumModel Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;mediumModel:Lnet/minecraft/client/render/entity/model/EntityModel;
    • largeModel

      private final EntityModel<PufferfishEntity> largeModel
      Mappings:
      Namespace Name Mixin selector
      official l Levf;l:Lehq;
      intermediary field_4763 Lnet/minecraft/class_936;field_4763:Lnet/minecraft/class_583;
      named largeModel Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;largeModel:Lnet/minecraft/client/render/entity/model/EntityModel;
  • Constructor Details

    • PufferfishEntityRenderer

      public PufferfishEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letn;<init>(Leto$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(PufferfishEntity pufferfishEntity)
      Specified by:
      getTexture in interface FeatureRendererContext<PufferfishEntity,EntityModel<PufferfishEntity>>
      Specified by:
      getTexture in class EntityRenderer<PufferfishEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Levf;a(Lbhv;)Lyb;
      intermediary method_4096 Lnet/minecraft/class_936;method_4096(Lnet/minecraft/class_1454;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;getTexture(Lnet/minecraft/entity/passive/PufferfishEntity;)Lnet/minecraft/util/Identifier;
    • render

      public void render(PufferfishEntity pufferfishEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class MobEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Levf;a(Lbhv;FFLdrw;Leoy;I)V
      intermediary method_4094 Lnet/minecraft/class_936;method_4094(Lnet/minecraft/class_1454;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;render(Lnet/minecraft/entity/passive/PufferfishEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • setupTransforms

      protected void setupTransforms(PufferfishEntity pufferfishEntity, MatrixStack matrixStack, float float2, float float3, float float4)
      Overrides:
      setupTransforms in class LivingEntityRenderer<PufferfishEntity,EntityModel<PufferfishEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Levf;a(Lbhv;Ldrw;FFF)V
      intermediary method_4095 Lnet/minecraft/class_936;method_4095(Lnet/minecraft/class_1454;Lnet/minecraft/class_4587;FFF)V
      named setupTransforms Lnet/minecraft/client/render/entity/PufferfishEntityRenderer;setupTransforms(Lnet/minecraft/entity/passive/PufferfishEntity;Lnet/minecraft/client/util/math/MatrixStack;FFF)V