Class BatRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<BatEntity,BatModel>
-
- net.minecraft.client.renderer.entity.BatRenderer
-
- All Implemented Interfaces:
IEntityRenderer<BatEntity,BatModel>
public class BatRenderer extends MobRenderer<BatEntity,BatModel>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
BAT_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description BatRenderer(EntityRendererManager p_i46192_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(BatEntity p_110775_1_)
protected void
scale(BatEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
protected void
setupRotations(BatEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
BAT_LOCATION
private static final ResourceLocation BAT_LOCATION
-
-
Constructor Detail
-
BatRenderer
public BatRenderer(EntityRendererManager p_i46192_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(BatEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<BatEntity,BatModel>
- Specified by:
getTextureLocation
in classEntityRenderer<BatEntity>
-
scale
protected void scale(BatEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<BatEntity,BatModel>
-
setupRotations
protected void setupRotations(BatEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<BatEntity,BatModel>
-
-