Class FishRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<FishingBobberEntity>
-
- net.minecraft.client.renderer.entity.FishRenderer
-
public class FishRenderer extends EntityRenderer<FishingBobberEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private static RenderType
RENDER_TYPE
private static ResourceLocation
TEXTURE_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description FishRenderer(EntityRendererManager p_i46175_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static float
fraction(int p_229105_0_, int p_229105_1_)
ResourceLocation
getTextureLocation(FishingBobberEntity p_110775_1_)
void
render(FishingBobberEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
private static void
stringVertex(float p_229104_0_, float p_229104_1_, float p_229104_2_, IVertexBuilder p_229104_3_, Matrix4f p_229104_4_, float p_229104_5_)
private static void
vertex(IVertexBuilder p_229106_0_, Matrix4f p_229106_1_, Matrix3f p_229106_2_, int p_229106_3_, float p_229106_4_, int p_229106_5_, int p_229106_6_, int p_229106_7_)
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
-
-
-
Field Detail
-
TEXTURE_LOCATION
private static final ResourceLocation TEXTURE_LOCATION
-
RENDER_TYPE
private static final RenderType RENDER_TYPE
-
-
Constructor Detail
-
FishRenderer
public FishRenderer(EntityRendererManager p_i46175_1_)
-
-
Method Detail
-
render
public void render(FishingBobberEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classEntityRenderer<FishingBobberEntity>
-
fraction
private static float fraction(int p_229105_0_, int p_229105_1_)
-
vertex
private static void vertex(IVertexBuilder p_229106_0_, Matrix4f p_229106_1_, Matrix3f p_229106_2_, int p_229106_3_, float p_229106_4_, int p_229106_5_, int p_229106_6_, int p_229106_7_)
-
stringVertex
private static void stringVertex(float p_229104_0_, float p_229104_1_, float p_229104_2_, IVertexBuilder p_229104_3_, Matrix4f p_229104_4_, float p_229104_5_)
-
getTextureLocation
public ResourceLocation getTextureLocation(FishingBobberEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<FishingBobberEntity>
-
-