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, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static float
fraction
(int p_114691_, int p_114692_) 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_114712_, Matrix4f p_114713_, Matrix3f p_114714_, int p_114715_, float p_114716_, int p_114717_, int p_114718_, int p_114719_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, 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>
-
fraction
private static float fraction(int p_114691_, int p_114692_) -
vertex
private static void vertex(VertexConsumer p_114712_, Matrix4f p_114713_, Matrix3f p_114714_, int p_114715_, float p_114716_, int p_114717_, int p_114718_, int p_114719_) -
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>
-