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 official fpf
intermediary net/minecraft/class_906
named net/minecraft/client/render/entity/FishingBobberEntityRenderer
-
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, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTexture
(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, Matrix4f matrix, Matrix3f normalMatrix, int light, float x, int y, int u, int v) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getPositionOffset, getSkyLight, getTextRenderer, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lfpf;a:Lacq;
intermediary field_4707
Lnet/minecraft/class_906;field_4707:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
LAYER
- Mappings:
Namespace Name Mixin selector official f
Lfpf;f:Lfkf;
intermediary field_21742
Lnet/minecraft/class_906;field_21742:Lnet/minecraft/class_1921;
named LAYER
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;LAYER:Lnet/minecraft/client/render/RenderLayer;
-
field_33632
private static final double field_33632- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lfpf;g:D
intermediary field_33632
Lnet/minecraft/class_906;field_33632:D
named field_33632
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;field_33632:D
-
-
Constructor Details
-
FishingBobberEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lfox;<init>(Lfoy$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
-
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 official a
Lfpf;a(Lbzc;FFLeij;Lfjx;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
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
-
percentage
private static float percentage(int value, int max) - Mappings:
Namespace Name Mixin selector official a
Lfpf;a(II)F
intermediary method_23954
Lnet/minecraft/class_906;method_23954(II)F
named percentage
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;percentage(II)F
-
vertex
private static void vertex(VertexConsumer buffer, Matrix4f matrix, Matrix3f normalMatrix, int light, float x, int y, int u, int v) - Mappings:
Namespace Name Mixin selector official a
Lfpf;a(Lein;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;IFIII)V
intermediary method_23840
Lnet/minecraft/class_906;method_23840(Lnet/minecraft/class_4588;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;IFIII)V
named vertex
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;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 official a
Lfpf;a(FFFLein;Leij$a;FF)V
intermediary method_23172
Lnet/minecraft/class_906;method_23172(FFFLnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;FF)V
named renderFishingLine
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;renderFishingLine(FFFLnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;FF)V
-
getTexture
- Specified by:
getTexture
in classEntityRenderer<FishingBobberEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfpf;a(Lbzc;)Lacq;
intermediary method_3975
Lnet/minecraft/class_906;method_3975(Lnet/minecraft/class_1536;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;getTexture(Lnet/minecraft/entity/projectile/FishingBobberEntity;)Lnet/minecraft/util/Identifier;
-