Class ItemFrameEntityRenderer<T extends ItemFrameEntity>

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T,ItemFrameEntityRenderState>
net.minecraft.client.render.entity.ItemFrameEntityRenderer<T>

@Environment(CLIENT) public class ItemFrameEntityRenderer<T extends ItemFrameEntity> extends EntityRenderer<T,ItemFrameEntityRenderState>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/ItemFrameEntityRenderer
intermediary net/minecraft/class_915
official gsm
  • Field Details

    • GLOW_FRAME_BLOCK_LIGHT

      public static final int GLOW_FRAME_BLOCK_LIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named GLOW_FRAME_BLOCK_LIGHT Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;GLOW_FRAME_BLOCK_LIGHT:I
      intermediary field_32932 Lnet/minecraft/class_915;field_32932:I
      official a Lgsm;a:I
    • field_32933

      public static final int field_32933
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32933 Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;field_32933:I
      intermediary field_32933 Lnet/minecraft/class_915;field_32933:I
      official b Lgsm;b:I
    • itemRenderer

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      named itemRenderer Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
      intermediary field_4720 Lnet/minecraft/class_915;field_4720:Lnet/minecraft/class_918;
      official h Lgsm;h:Lgsn;
    • mapRenderer

      private final MapRenderer mapRenderer
      Mappings:
      Namespace Name Mixin selector
      named mapRenderer Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;mapRenderer:Lnet/minecraft/client/render/MapRenderer;
      intermediary field_53191 Lnet/minecraft/class_915;field_53191:Lnet/minecraft/class_330;
      official i Lgsm;i:Lglj;
    • blockRenderManager

      private final BlockRenderManager blockRenderManager
      Mappings:
      Namespace Name Mixin selector
      named blockRenderManager Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;blockRenderManager:Lnet/minecraft/client/render/block/BlockRenderManager;
      intermediary field_38891 Lnet/minecraft/class_915;field_38891:Lnet/minecraft/class_776;
      official j Lgsm;j:Lgmn;
  • Constructor Details

    • ItemFrameEntityRenderer

      public ItemFrameEntityRenderer(EntityRendererFactory.Context context)
      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> Lgro;<init>(Lgrp$a;)V
  • Method Details

    • getBlockLight

      protected int getBlockLight(T t, BlockPos blockPos)
      Overrides:
      getBlockLight in class EntityRenderer<T extends ItemFrameEntity,ItemFrameEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named getBlockLight Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getBlockLight(Lnet/minecraft/entity/decoration/ItemFrameEntity;Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_33435 Lnet/minecraft/class_915;method_33435(Lnet/minecraft/class_1533;Lnet/minecraft/class_2338;)I
      official a Lgsm;a(Lclt;Ljh;)I
    • render

      public void render(ItemFrameEntityRenderState itemFrameEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<T extends ItemFrameEntity,ItemFrameEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;render(Lnet/minecraft/client/render/entity/state/ItemFrameEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_3994 Lnet/minecraft/class_915;method_3994(Lnet/minecraft/class_10040;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgsm;a(Lgyq;Lfgr;Lglk;I)V
    • getLight

      private int getLight(boolean glow, int glowLight, int regularLight)
      Mappings:
      Namespace Name Mixin selector
      named getLight Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getLight(ZII)I
      intermediary method_33433 Lnet/minecraft/class_915;method_33433(ZII)I
      official a Lgsm;a(ZII)I
    • getModelId

      private ModelIdentifier getModelId(boolean glow, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named getModelId Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getModelId(ZLnet/minecraft/item/ItemStack;)Lnet/minecraft/client/util/ModelIdentifier;
      intermediary method_33434 Lnet/minecraft/class_915;method_33434(ZLnet/minecraft/class_1799;)Lnet/minecraft/class_1091;
      official a Lgsm;a(ZLcxo;)Lhea;
    • getPositionOffset

      public Vec3d getPositionOffset(ItemFrameEntityRenderState itemFrameEntityRenderState)
      Overrides:
      getPositionOffset in class EntityRenderer<T extends ItemFrameEntity,ItemFrameEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named getPositionOffset Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getPositionOffset(Lnet/minecraft/client/render/entity/state/ItemFrameEntityRenderState;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_23174 Lnet/minecraft/class_915;method_23174(Lnet/minecraft/class_10040;)Lnet/minecraft/class_243;
      official a Lgsm;a(Lgyq;)Lfbx;
    • hasLabel

      protected boolean hasLabel(T t, double double2)
      Description copied from class: EntityRenderer
      Determines whether the passed entity should render with a nameplate above its head.

      Checks for a custom nametag on living entities, and for teams/team visibilities for players.

      Overrides:
      hasLabel in class EntityRenderer<T extends ItemFrameEntity,ItemFrameEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named hasLabel Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;hasLabel(Lnet/minecraft/entity/decoration/ItemFrameEntity;D)Z
      intermediary method_23176 Lnet/minecraft/class_915;method_23176(Lnet/minecraft/class_1533;D)Z
      official a Lgsm;a(Lclt;D)Z
    • getDisplayName

      protected Text getDisplayName(T t)
      Overrides:
      getDisplayName in class EntityRenderer<T extends ItemFrameEntity,ItemFrameEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named getDisplayName Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getDisplayName(Lnet/minecraft/entity/decoration/ItemFrameEntity;)Lnet/minecraft/text/Text;
      intermediary method_62472 Lnet/minecraft/class_915;method_62472(Lnet/minecraft/class_1533;)Lnet/minecraft/class_2561;
      official a Lgsm;a(Lclt;)Lxv;
    • createRenderState

      public ItemFrameEntityRenderState createRenderState()
      Specified by:
      createRenderState in class EntityRenderer<T extends ItemFrameEntity,ItemFrameEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named createRenderState Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/ItemFrameEntityRenderState;
      intermediary method_62471 Lnet/minecraft/class_915;method_62471()Lnet/minecraft/class_10040;
      official a Lgsm;a()Lgyq;
    • updateRenderState

      public void updateRenderState(T t, ItemFrameEntityRenderState itemFrameEntityRenderState, float float2)
      Overrides:
      updateRenderState in class EntityRenderer<T extends ItemFrameEntity,ItemFrameEntityRenderState>
      Mappings:
      Namespace Name Mixin selector
      named updateRenderState Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;updateRenderState(Lnet/minecraft/entity/decoration/ItemFrameEntity;Lnet/minecraft/client/render/entity/state/ItemFrameEntityRenderState;F)V
      intermediary method_62473 Lnet/minecraft/class_915;method_62473(Lnet/minecraft/class_1533;Lnet/minecraft/class_10040;F)V
      official a Lgsm;a(Lclt;Lgyq;F)V