Class ItemFrameEntityRenderer<T extends ItemFrameEntity>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.ItemFrameEntityRenderer<T>
@Environment(CLIENT)
public class ItemFrameEntityRenderer<T extends ItemFrameEntity>
extends EntityRenderer<T>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/ItemFrameEntityRenderer
intermediary net/minecraft/class_915
official gjv
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockRenderManager
static final int
private static final ModelIdentifier
static final int
private final ItemRenderer
private static final ModelIdentifier
private static final ModelIdentifier
private static final ModelIdentifier
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getBlockLight
(T t, BlockPos blockPos) private int
private ModelIdentifier
getModelId
(T entity, ItemStack stack) getPositionOffset
(T t, float float2) getTexture
(T t) protected boolean
Determines whether the passed entity should render with a nameplate above its head.void
render
(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) protected void
renderLabelIfPresent
(T t, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, float float2) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getLight, getShadowRadius, getSkyLight, getTextRenderer, shouldRender
-
Field Details
-
NORMAL_FRAME
- Mappings:
Namespace Name Mixin selector named NORMAL_FRAME
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;NORMAL_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
intermediary field_4721
Lnet/minecraft/class_915;field_4721:Lnet/minecraft/class_1091;
official g
Lgjv;g:Lgri;
-
MAP_FRAME
- Mappings:
Namespace Name Mixin selector named MAP_FRAME
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;MAP_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
intermediary field_4723
Lnet/minecraft/class_915;field_4723:Lnet/minecraft/class_1091;
official h
Lgjv;h:Lgri;
-
GLOW_FRAME
- Mappings:
Namespace Name Mixin selector named GLOW_FRAME
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;GLOW_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
intermediary field_28462
Lnet/minecraft/class_915;field_28462:Lnet/minecraft/class_1091;
official i
Lgjv;i:Lgri;
-
MAP_GLOW_FRAME
- Mappings:
Namespace Name Mixin selector named MAP_GLOW_FRAME
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;MAP_GLOW_FRAME:Lnet/minecraft/client/util/ModelIdentifier;
intermediary field_28463
Lnet/minecraft/class_915;field_28463:Lnet/minecraft/class_1091;
official j
Lgjv;j:Lgri;
-
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
Lgjv;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 f
Lgjv;f:I
-
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 k
Lgjv;k:Lgjw;
-
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 l
Lgjv;l:Lgej;
-
-
Constructor Details
-
ItemFrameEntityRenderer
- 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>
Lgix;<init>(Lgiy$a;)V
-
-
Method Details
-
getBlockLight
- Overrides:
getBlockLight
in classEntityRenderer<T extends ItemFrameEntity>
- 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
Lgjv;a(Lcjb;Liz;)I
-
render
public void render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
render
in classEntityRenderer<T extends ItemFrameEntity>
- Mappings:
Namespace Name Mixin selector 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
intermediary method_3994
Lnet/minecraft/class_915;method_3994(Lnet/minecraft/class_1533;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgjv;a(Lcjb;FFLezz;Lgdp;I)V
-
getLight
- Mappings:
Namespace Name Mixin selector named getLight
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getLight(Lnet/minecraft/entity/decoration/ItemFrameEntity;II)I
intermediary method_33433
Lnet/minecraft/class_915;method_33433(Lnet/minecraft/class_1533;II)I
official a
Lgjv;a(Lcjb;II)I
-
getModelId
- Mappings:
Namespace Name Mixin selector named getModelId
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getModelId(Lnet/minecraft/entity/decoration/ItemFrameEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/client/util/ModelIdentifier;
intermediary method_33434
Lnet/minecraft/class_915;method_33434(Lnet/minecraft/class_1533;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1091;
official a
Lgjv;a(Lcjb;Lcuq;)Lgri;
-
getPositionOffset
- Overrides:
getPositionOffset
in classEntityRenderer<T extends ItemFrameEntity>
- Mappings:
Namespace Name Mixin selector named getPositionOffset
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getPositionOffset(Lnet/minecraft/entity/decoration/ItemFrameEntity;F)Lnet/minecraft/util/math/Vec3d;
intermediary method_23174
Lnet/minecraft/class_915;method_23174(Lnet/minecraft/class_1533;F)Lnet/minecraft/class_243;
official a
Lgjv;a(Lcjb;F)Levs;
-
getTexture
- Specified by:
getTexture
in classEntityRenderer<T extends ItemFrameEntity>
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;getTexture(Lnet/minecraft/entity/decoration/ItemFrameEntity;)Lnet/minecraft/util/Identifier;
intermediary method_3993
Lnet/minecraft/class_915;method_3993(Lnet/minecraft/class_1533;)Lnet/minecraft/class_2960;
official a
Lgjv;a(Lcjb;)Lalf;
-
hasLabel
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 classEntityRenderer<T extends ItemFrameEntity>
- Mappings:
Namespace Name Mixin selector named hasLabel
Lnet/minecraft/client/render/entity/ItemFrameEntityRenderer;hasLabel(Lnet/minecraft/entity/decoration/ItemFrameEntity;)Z
intermediary method_23176
Lnet/minecraft/class_915;method_23176(Lnet/minecraft/class_1533;)Z
official b
Lgjv;b(Lcjb;)Z
-
renderLabelIfPresent
protected void renderLabelIfPresent(T t, Text text, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, float float2) - Overrides:
renderLabelIfPresent
in classEntityRenderer<T extends ItemFrameEntity>
- Mappings:
Namespace Name Mixin selector 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;IF)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;IF)V
official a
Lgjv;a(Lcjb;Lxp;Lezz;Lgdp;IF)V
-