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 Summary
Modifier and TypeFieldDescriptionprivate final BlockRenderManager
static final int
static final int
private final ItemRenderer
private final MapRenderer
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getBlockLight
(T t, BlockPos blockPos) protected Text
getDisplayName
(T t) private int
getLight
(boolean glow, int glowLight, int regularLight) private ModelIdentifier
getModelId
(boolean glow, ItemStack stack) getPositionOffset
(ItemFrameEntityRenderState itemFrameEntityRenderState) protected boolean
Determines whether the passed entity should render with a nameplate above its head.void
render
(ItemFrameEntityRenderState itemFrameEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) void
updateRenderState
(T t, ItemFrameEntityRenderState itemFrameEntityRenderState, float float2) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, getAndUpdateRenderState, getBoundingBox, getLight, getShadowRadius, getSkyLight, getTextRenderer, renderLabelIfPresent, shouldRender
-
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
- 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
- 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
- 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
- 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
- Overrides:
getBlockLight
in classEntityRenderer<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 classEntityRenderer<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
- 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
- Overrides:
getPositionOffset
in classEntityRenderer<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
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,
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
- Overrides:
getDisplayName
in classEntityRenderer<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
- Specified by:
createRenderState
in classEntityRenderer<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 classEntityRenderer<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
-