Class PhantomEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<PhantomEntity,​PhantomEntityModel<PhantomEntity>>

@Environment(CLIENT)
public class PhantomEntityRenderer
extends MobEntityRenderer<PhantomEntity,​PhantomEntityModel<PhantomEntity>>
Mappings:
Namespace Name
official ent
intermediary net/minecraft/class_933
named net/minecraft/client/render/entity/PhantomEntityRenderer
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lent;a:Lwb;
      intermediary field_4756 Lnet/minecraft/class_933;field_4756:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/render/entity/PhantomEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • PhantomEntityRenderer

      public PhantomEntityRenderer​(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemi;<init>(Lemj$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​(PhantomEntity phantomEntity)
      Specified by:
      getTexture in interface FeatureRendererContext<PhantomEntity,​PhantomEntityModel<PhantomEntity>>
      Specified by:
      getTexture in class EntityRenderer<PhantomEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lent;a(Lbfh;)Lwb;
      intermediary method_4090 Lnet/minecraft/class_933;method_4090(Lnet/minecraft/class_1593;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/PhantomEntityRenderer;getTexture(Lnet/minecraft/entity/mob/PhantomEntity;)Lnet/minecraft/util/Identifier;
    • scale

      protected void scale​(PhantomEntity phantomEntity, MatrixStack matrixStack, float float2)
      Overrides:
      scale in class LivingEntityRenderer<PhantomEntity,​PhantomEntityModel<PhantomEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lent;a(Lbfh;Ldlr;F)V
      intermediary method_4088 Lnet/minecraft/class_933;method_4088(Lnet/minecraft/class_1593;Lnet/minecraft/class_4587;F)V
      named scale Lnet/minecraft/client/render/entity/PhantomEntityRenderer;scale(Lnet/minecraft/entity/mob/PhantomEntity;Lnet/minecraft/client/util/math/MatrixStack;F)V
    • setupTransforms

      protected void setupTransforms​(PhantomEntity phantomEntity, MatrixStack matrixStack, float float2, float float3, float float4)
      Overrides:
      setupTransforms in class LivingEntityRenderer<PhantomEntity,​PhantomEntityModel<PhantomEntity>>
      Mappings:
      Namespace Name Mixin selector
      official a Lent;a(Lbfh;Ldlr;FFF)V
      intermediary method_4089 Lnet/minecraft/class_933;method_4089(Lnet/minecraft/class_1593;Lnet/minecraft/class_4587;FFF)V
      named setupTransforms Lnet/minecraft/client/render/entity/PhantomEntityRenderer;setupTransforms(Lnet/minecraft/entity/mob/PhantomEntity;Lnet/minecraft/client/util/math/MatrixStack;FFF)V