Class FishingHookRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<FishingHook>
net.minecraft.client.renderer.entity.FishingHookRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final RenderType
private static final ResourceLocation
private static final double
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static float
fraction
(int p_114691_, int p_114692_) private Vec3
getPlayerHandPos
(Player p_328037_, float p_328369_, float p_332926_) getTextureLocation
(FishingHook p_114703_) void
render
(FishingHook p_114705_, float p_114706_, float p_114707_, PoseStack p_114708_, MultiBufferSource p_114709_, int p_114710_) private static void
stringVertex
(float p_174119_, float p_174120_, float p_174121_, VertexConsumer p_174122_, PoseStack.Pose p_174123_, float p_174124_, float p_174125_) private static void
vertex
(VertexConsumer p_254464_, PoseStack.Pose p_328848_, int p_254296_, float p_253632_, int p_254132_, int p_254171_, int p_254026_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
TEXTURE_LOCATION
-
RENDER_TYPE
-
VIEW_BOBBING_SCALE
private static final double VIEW_BOBBING_SCALE- See Also:
-
-
Constructor Details
-
FishingHookRenderer
-
-
Method Details
-
render
public void render(FishingHook p_114705_, float p_114706_, float p_114707_, PoseStack p_114708_, MultiBufferSource p_114709_, int p_114710_) - Overrides:
render
in classEntityRenderer<FishingHook>
-
getPlayerHandPos
-
fraction
private static float fraction(int p_114691_, int p_114692_) -
vertex
private static void vertex(VertexConsumer p_254464_, PoseStack.Pose p_328848_, int p_254296_, float p_253632_, int p_254132_, int p_254171_, int p_254026_) -
stringVertex
private static void stringVertex(float p_174119_, float p_174120_, float p_174121_, VertexConsumer p_174122_, PoseStack.Pose p_174123_, float p_174124_, float p_174125_) -
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<FishingHook>
-