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
named net/minecraft/client/render/entity/FlyingItemEntityRenderer
intermediary net/minecraft/class_953
official gmv
  • Field Details

    • MIN_DISTANCE

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

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

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

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

    • FlyingItemEntityRenderer

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

      public FlyingItemEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
      intermediary <init> Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
      official <init> Lgki;<init>(Lgkj$a;)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
      named getBlockLight Lnet/minecraft/client/render/entity/EntityRenderer;getBlockLight(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_24087 Lnet/minecraft/class_897;method_24087(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)I
      official a Lgki;a(Lbsr;Ljd;)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
      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
      intermediary method_3936 Lnet/minecraft/class_897;method_3936(Lnet/minecraft/class_1297;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgki;a(Lbsr;FFLfbi;Lgez;I)V
    • getTexture

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