Class FishingBobberEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<FishingBobberEntity>
net.minecraft.client.render.entity.FishingBobberEntityRenderer
@Environment(CLIENT)
public class FishingBobberEntityRenderer
extends EntityRenderer<FishingBobberEntity>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/FishingBobberEntityRenderer
intermediary net/minecraft/class_906
official gkq
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final double
private static final RenderLayer
private static final Identifier
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Vec3d
getHandPos
(PlayerEntity player, float float2, float tickDelta) getTexture
(FishingBobberEntity fishingBobberEntity) private static float
percentage
(int value, int max) void
render
(FishingBobberEntity fishingBobberEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) private static void
renderFishingLine
(float x, float y, float z, VertexConsumer buffer, MatrixStack.Entry matrices, float segmentStart, float segmentEnd) private static void
vertex
(VertexConsumer buffer, MatrixStack.Entry matrix, int light, float x, int y, int u, int v) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getPositionOffset, getShadowRadius, getSkyLight, getTextRenderer, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURE
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_4707
Lnet/minecraft/class_906;field_4707:Lnet/minecraft/class_2960;
official a
Lgkq;a:Lakr;
-
LAYER
- Mappings:
Namespace Name Mixin selector named LAYER
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;LAYER:Lnet/minecraft/client/render/RenderLayer;
intermediary field_21742
Lnet/minecraft/class_906;field_21742:Lnet/minecraft/class_1921;
official g
Lgkq;g:Lgfh;
-
field_33632
private static final double field_33632- See Also:
- Mappings:
Namespace Name Mixin selector named field_33632
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;field_33632:D
intermediary field_33632
Lnet/minecraft/class_906;field_33632:D
official h
Lgkq;h:D
-
-
Constructor Details
-
FishingBobberEntityRenderer
- 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>
Lgki;<init>(Lgkj$a;)V
-
-
Method Details
-
render
public void render(FishingBobberEntity fishingBobberEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
render
in classEntityRenderer<FishingBobberEntity>
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;render(Lnet/minecraft/entity/projectile/FishingBobberEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_3974
Lnet/minecraft/class_906;method_3974(Lnet/minecraft/class_1536;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgkq;a(Lcnl;FFLfbi;Lgez;I)V
-
getHandPos
- Mappings:
Namespace Name Mixin selector named getHandPos
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;getHandPos(Lnet/minecraft/entity/player/PlayerEntity;FF)Lnet/minecraft/util/math/Vec3d;
intermediary method_59755
Lnet/minecraft/class_906;method_59755(Lnet/minecraft/class_1657;FF)Lnet/minecraft/class_243;
official a
Lgkq;a(Lcmx;FF)Lexc;
-
percentage
private static float percentage(int value, int max) - Mappings:
Namespace Name Mixin selector named percentage
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;percentage(II)F
intermediary method_23954
Lnet/minecraft/class_906;method_23954(II)F
official a
Lgkq;a(II)F
-
vertex
private static void vertex(VertexConsumer buffer, MatrixStack.Entry matrix, int light, float x, int y, int u, int v) - Mappings:
Namespace Name Mixin selector named vertex
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;IFIII)V
intermediary method_23840
Lnet/minecraft/class_906;method_23840(Lnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;IFIII)V
official a
Lgkq;a(Lfbm;Lfbi$a;IFIII)V
-
renderFishingLine
private static void renderFishingLine(float x, float y, float z, VertexConsumer buffer, MatrixStack.Entry matrices, float segmentStart, float segmentEnd) - Mappings:
Namespace Name Mixin selector named renderFishingLine
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;renderFishingLine(FFFLnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;FF)V
intermediary method_23172
Lnet/minecraft/class_906;method_23172(FFFLnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;FF)V
official a
Lgkq;a(FFFLfbm;Lfbi$a;FF)V
-
getTexture
- Specified by:
getTexture
in classEntityRenderer<FishingBobberEntity>
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;getTexture(Lnet/minecraft/entity/projectile/FishingBobberEntity;)Lnet/minecraft/util/Identifier;
intermediary method_3975
Lnet/minecraft/class_906;method_3975(Lnet/minecraft/class_1536;)Lnet/minecraft/class_2960;
official a
Lgkq;a(Lcnl;)Lakr;
-