类 ItemFrameEntityRenderer<T extends ItemFrameEntity>


  • @Environment(CLIENT)
    public class ItemFrameEntityRenderer<T extends ItemFrameEntity>
    extends EntityRenderer<T>
    Mappings:
    Namespace Name
    official ern
    intermediary net/minecraft/class_915
    named net/minecraft/client/render/entity/ItemFrameEntityRenderer
    • 字段详细资料

      • NORMAL_FRAME

        private static final ModelIdentifier NORMAL_FRAME
        Mappings:
        Namespace Name Mixin selector
        official g Lern;g:Lexv;
        intermediary field_4721 Lnet/minecraft/class_915;field_4721:Lnet/minecraft/class_1091;
        named NORMAL_FRAME Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;NORMAL_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
      • MAP_FRAME

        private static final ModelIdentifier MAP_FRAME
        Mappings:
        Namespace Name Mixin selector
        official h Lern;h:Lexv;
        intermediary field_4723 Lnet/minecraft/class_915;field_4723:Lnet/minecraft/class_1091;
        named MAP_FRAME Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;MAP_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
      • GLOW_FRAME

        private static final ModelIdentifier GLOW_FRAME
        Mappings:
        Namespace Name Mixin selector
        official i Lern;i:Lexv;
        intermediary field_28462 Lnet/minecraft/class_915;field_28462:Lnet/minecraft/class_1091;
        named GLOW_FRAME Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;GLOW_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
      • MAP_GLOW_FRAME

        private static final ModelIdentifier MAP_GLOW_FRAME
        Mappings:
        Namespace Name Mixin selector
        official j Lern;j:Lexv;
        intermediary field_28463 Lnet/minecraft/class_915;field_28463:Lnet/minecraft/class_1091;
        named MAP_GLOW_FRAME Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;MAP_GLOW_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
      • field_32932

        public static final int field_32932
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a:I
        intermediary field_32932 Lnet/minecraft/class_915;field_32932:I
        named field_32932 Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;field_32932:I
      • field_32933

        public static final int field_32933
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official f Lern;f:I
        intermediary field_32933 Lnet/minecraft/class_915;field_32933:I
        named field_32933 Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;field_32933:I
      • client

        private final MinecraftClient client
        Mappings:
        Namespace Name Mixin selector
        official k Lern;k:Ldum;
        intermediary field_4724 Lnet/minecraft/class_915;field_4724:Lnet/minecraft/class_310;
        named client Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;client:Lnet/minecraft/client/MinecraftClient;
      • itemRenderer

        private final ItemRenderer itemRenderer
        Mappings:
        Namespace Name Mixin selector
        official l Lern;l:Lero;
        intermediary field_4720 Lnet/minecraft/class_915;field_4720:Lnet/minecraft/class_918;
        named itemRenderer Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
    • 构造器详细资料

      • ItemFrameEntityRenderer

        public ItemFrameEntityRenderer​(EntityRendererFactory.Context ctx)
        Mappings:
        Namespace Name Mixin selector
        official <init> Leqq;<init>(Leqr$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
    • 方法详细资料

      • getBlockLight

        protected int getBlockLight​(T t,
                                    BlockPos blockPos)
        覆盖:
        getBlockLight 在类中 EntityRenderer<T extends ItemFrameEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a(Lbfy;Lgb;)I
        intermediary method_33435 Lnet/minecraft/class_915;method_33435(Lnet/minecraft/class_1533;Lnet/minecraft/class_2338;)I
        named getBlockLight Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getBlockLight(Lnet/minecraft/entity/decoration/ItemFrameEntity;Lnet/minecraft/util/math/BlockPos;)I
      • render

        public void render​(T t,
                           float float2,
                           float float3,
                           MatrixStack matrixStack,
                           VertexConsumerProvider vertexConsumerProvider,
                           int int2)
        覆盖:
        render 在类中 EntityRenderer<T extends ItemFrameEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a(Lbfy;FFLdpi;Lema;I)V
        intermediary method_3994 Lnet/minecraft/class_915;method_3994(Lnet/minecraft/class_1533;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
        named render Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;render(Lnet/minecraft/entity/decoration/ItemFrameEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      • method_33433

        private int method_33433​(T t,
                                 int int2,
                                 int int3)
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a(Lbfy;II)I
        intermediary method_33433 Lnet/minecraft/class_915;method_33433(Lnet/minecraft/class_1533;II)I
        named method_33433 Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;method_33433(Lnet/minecraft/entity/decoration/ItemFrameEntity;II)I
      • getModelId

        private ModelIdentifier getModelId​(T entity,
                                           ItemStack stack)
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a(Lbfy;Lbpr;)Lexv;
        intermediary method_33434 Lnet/minecraft/class_915;method_33434(Lnet/minecraft/class_1533;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1091;
        named getModelId Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getModelId(Lnet/minecraft/entity/decoration/ItemFrameEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/client/util/ModelIdentifier;
      • getPositionOffset

        public Vec3d getPositionOffset​(T t,
                                       float float2)
        覆盖:
        getPositionOffset 在类中 EntityRenderer<T extends ItemFrameEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a(Lbfy;F)Ldma;
        intermediary method_23174 Lnet/minecraft/class_915;method_23174(Lnet/minecraft/class_1533;F)Lnet/minecraft/class_243;
        named getPositionOffset Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getPositionOffset(Lnet/minecraft/entity/decoration/ItemFrameEntity;F)Lnet/minecraft/util/math/Vec3d;
      • getTexture

        public Identifier getTexture​(T t)
        指定者:
        getTexture 在类中 EntityRenderer<T extends ItemFrameEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a(Lbfy;)Lwp;
        intermediary method_3993 Lnet/minecraft/class_915;method_3993(Lnet/minecraft/class_1533;)Lnet/minecraft/class_2960;
        named getTexture Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getTexture(Lnet/minecraft/entity/decoration/ItemFrameEntity;)Lnet/minecraft/util/Identifier;
      • hasLabel

        protected boolean hasLabel​(T t)
        从类复制的说明: 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.

        覆盖:
        hasLabel 在类中 EntityRenderer<T extends ItemFrameEntity>
        Mappings:
        Namespace Name Mixin selector
        official b Lern;b(Lbfy;)Z
        intermediary method_23176 Lnet/minecraft/class_915;method_23176(Lnet/minecraft/class_1533;)Z
        named hasLabel Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;hasLabel(Lnet/minecraft/entity/decoration/ItemFrameEntity;)Z
      • renderLabelIfPresent

        protected void renderLabelIfPresent​(T t,
                                            Text text,
                                            MatrixStack matrixStack,
                                            VertexConsumerProvider vertexConsumerProvider,
                                            int int2)
        覆盖:
        renderLabelIfPresent 在类中 EntityRenderer<T extends ItemFrameEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lern;a(Lbfy;Lon;Ldpi;Lema;I)V
        intermediary method_23175 Lnet/minecraft/class_915;method_23175(Lnet/minecraft/class_1533;Lnet/minecraft/class_2561;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
        named renderLabelIfPresent Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;renderLabelIfPresent(Lnet/minecraft/entity/decoration/ItemFrameEntity;Lnet/minecraft/text/Text;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V