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 official fex
intermediary net/minecraft/class_953
named net/minecraft/client/render/entity/FlyingItemEntityRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ItemRenderer
private final boolean
private static final float
private final float
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, shadowOpacity, shadowRadius
-
Constructor Summary
ConstructorDescriptionFlyingItemEntityRenderer
(EntityRendererFactory.Context ctx, float scale, boolean lit) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getBlockLight
(T entity, BlockPos pos) getTexture
(Entity entity) void
render
(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getLight, getPositionOffset, getSkyLight, getTextRenderer, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
MIN_DISTANCE
private static final float MIN_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfex;a:F
intermediary field_32943
Lnet/minecraft/class_953;field_32943:F
named MIN_DISTANCE
Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;MIN_DISTANCE:F
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official f
Lfex;f:Lfdl;
intermediary field_4792
Lnet/minecraft/class_953;field_4792:Lnet/minecraft/class_918;
named itemRenderer
Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
scale
private final float scale- Mappings:
Namespace Name Mixin selector official g
Lfex;g:F
intermediary field_17147
Lnet/minecraft/class_953;field_17147:F
named scale
Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;scale:F
-
lit
private final boolean lit- Mappings:
Namespace Name Mixin selector official h
Lfex;h:Z
intermediary field_21745
Lnet/minecraft/class_953;field_21745:Z
named lit
Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;lit:Z
-
-
Constructor Details
-
FlyingItemEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lfex;<init>(Lfcn$a;FZ)V
intermediary <init>
Lnet/minecraft/class_953;<init>(Lnet/minecraft/class_5617$class_5618;FZ)V
named <init>
Lnet/minecraft/client/render/entity/FlyingItemEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;FZ)V
-
FlyingItemEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lfcm;<init>(Lfcn$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
-
-
Method Details
-
getBlockLight
- Overrides:
getBlockLight
in classEntityRenderer<T extends Entity & FlyingItemEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfcm;a(Lbaq;Lgt;)I
intermediary method_24087
Lnet/minecraft/class_897;method_24087(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)I
named getBlockLight
Lnet/minecraft/client/render/entity/EntityRenderer;getBlockLight(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)I
-
render
public void render(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Overrides:
render
in classEntityRenderer<T extends Entity & FlyingItemEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfcm;a(Lbaq;FFLdzt;Lexu;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
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
-
getTexture
- Specified by:
getTexture
in classEntityRenderer<T extends Entity & FlyingItemEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfcm;a(Lbaq;)Laaj;
intermediary method_3931
Lnet/minecraft/class_897;method_3931(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/EntityRenderer;getTexture(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/Identifier;
-