Class FishingHookRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<FishingHook>
net.minecraft.client.renderer.entity.FishingHookRenderer
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RenderTypeprivate static final ResourceLocationprivate static final doubleFields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static floatfraction(int p_114691_, int p_114692_) getTextureLocation(FishingHook p_114703_) voidrender(FishingHook p_114705_, float p_114706_, float p_114707_, PoseStack p_114708_, MultiBufferSource p_114709_, int p_114710_) private static voidstringVertex(float p_174119_, float p_174120_, float p_174121_, VertexConsumer p_174122_, PoseStack.Pose p_174123_, float p_174124_, float p_174125_) private static voidvertex(VertexConsumer p_254464_, org.joml.Matrix4f p_254085_, org.joml.Matrix3f p_253962_, 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, 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:
 renderin classEntityRenderer<FishingHook>
 - 
fraction
private static float fraction(int p_114691_, int p_114692_)  - 
vertex
private static void vertex(VertexConsumer p_254464_, org.joml.Matrix4f p_254085_, org.joml.Matrix3f p_253962_, 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:
 getTextureLocationin classEntityRenderer<FishingHook>
 
 -