Class SlimeEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<SlimeEntity,​SlimeEntityModel<SlimeEntity>>

@Environment(CLIENT) public class SlimeEntityRenderer extends MobEntityRenderer<SlimeEntity,​SlimeEntityModel<SlimeEntity>>
Mappings:
Namespace Name
official ety
intermediary net/minecraft/class_945
named net/minecraft/client/render/entity/SlimeEntityRenderer
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lety;a:Lww;
      intermediary field_4784 Lnet/minecraft/class_945;field_4784:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/render/entity/SlimeEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • SlimeEntityRenderer

      public SlimeEntityRenderer(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

    • render

      public void render(SlimeEntity slimeEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class MobEntityRenderer<SlimeEntity,​SlimeEntityModel<SlimeEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lety;a(Lbig;FFLdqk;Lenh;I)V
      intermediary method_4117 Lnet/minecraft/class_945;method_4117(Lnet/minecraft/class_1621;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/SlimeEntityRenderer;render(Lnet/minecraft/entity/mob/SlimeEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • scale

      protected void scale(SlimeEntity slimeEntity, MatrixStack matrixStack, float float2)
      Overrides:
      scale in class LivingEntityRenderer<SlimeEntity,​SlimeEntityModel<SlimeEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lety;a(Lbig;Ldqk;F)V
      intermediary method_4118 Lnet/minecraft/class_945;method_4118(Lnet/minecraft/class_1621;Lnet/minecraft/class_4587;F)V
      named scale Lnet/minecraft/client/render/entity/SlimeEntityRenderer;scale(Lnet/minecraft/entity/mob/SlimeEntity;Lnet/minecraft/client/util/math/MatrixStack;F)V
    • getTexture

      public Identifier getTexture(SlimeEntity slimeEntity)
      Specified by:
      getTexture in interface FeatureRendererContext<SlimeEntity,​SlimeEntityModel<SlimeEntity>>
      Specified by:
      getTexture in class EntityRenderer<SlimeEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lety;a(Lbig;)Lww;
      intermediary method_4116 Lnet/minecraft/class_945;method_4116(Lnet/minecraft/class_1621;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/SlimeEntityRenderer;getTexture(Lnet/minecraft/entity/mob/SlimeEntity;)Lnet/minecraft/util/Identifier;