Class FlyingItemEntityRenderer<T extends Entity & FlyingItemEntity>

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.FlyingItemEntityRenderer<T>

@Environment(CLIENT) public class FlyingItemEntityRenderer<T extends Entity & FlyingItemEntity> extends EntityRenderer<T>
Mappings:
Namespace Name
official fla
intermediary net/minecraft/class_953
named net/minecraft/client/render/entity/FlyingItemEntityRenderer
  • Field Details

    • MIN_DISTANCE

      private static final float MIN_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfla;a:F
      intermediary field_32943 Lnet/minecraft/class_953;field_32943:F
      named MIN_DISTANCE Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;MIN_DISTANCE:F
    • itemRenderer

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      official f Lfla;f:Lfjo;
      intermediary field_4792 Lnet/minecraft/class_953;field_4792:Lnet/minecraft/class_918;
      named itemRenderer Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
    • scale

      private final float scale
      Mappings:
      Namespace Name Mixin selector
      official g Lfla;g:F
      intermediary field_17147 Lnet/minecraft/class_953;field_17147:F
      named scale Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;scale:F
    • lit

      private final boolean lit
      Mappings:
      Namespace Name Mixin selector
      official h Lfla;h:Z
      intermediary field_21745 Lnet/minecraft/class_953;field_21745:Z
      named lit Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;lit:Z
  • Constructor Details

    • FlyingItemEntityRenderer

      public FlyingItemEntityRenderer(EntityRendererFactory.Context ctx, float scale, boolean lit)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfla;<init>(Lfiq$a;FZ)V
      intermediary <init> Lnet/minecraft/class_953;<init>(Lnet/minecraft/class_5617$class_5618;FZ)V
      named <init> Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;FZ)V
    • FlyingItemEntityRenderer

      public FlyingItemEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfip;<init>(Lfiq$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

    • getBlockLight

      protected int getBlockLight(T entity, BlockPos pos)
      Overrides:
      getBlockLight in class EntityRenderer<T extends Entity & FlyingItemEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfip;a(Lbdr;Lgp;)I
      intermediary method_24087 Lnet/minecraft/class_897;method_24087(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)I
      named getBlockLight Lnet/minecraft/client/render/entity/EntityRenderer;getBlockLight(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)I
    • render

      public void render(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Overrides:
      render in class EntityRenderer<T extends Entity & FlyingItemEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfip;a(Lbdr;FFLeed;Lfdv;I)V
      intermediary method_3936 Lnet/minecraft/class_897;method_3936(Lnet/minecraft/class_1297;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/EntityRenderer;render(Lnet/minecraft/entity/Entity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • getTexture

      public Identifier getTexture(Entity entity)
      Specified by:
      getTexture in class EntityRenderer<T extends Entity & FlyingItemEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfip;a(Lbdr;)Lacf;
      intermediary method_3931 Lnet/minecraft/class_897;method_3931(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/EntityRenderer;getTexture(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/Identifier;