Class GhastCowRenderer

java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.LivingEntityRenderer<T,M>
net.minecraft.client.renderer.entity.MobRenderer<GhastCow,GhastCowModel<GhastCow>>
com.mrbysco.ghastcow.client.renderer.GhastCowRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.entity.RenderLayerParent<GhastCow,GhastCowModel<GhastCow>>

public class GhastCowRenderer extends net.minecraft.client.renderer.entity.MobRenderer<GhastCow,GhastCowModel<GhastCow>>
  • Field Summary

    Fields inherited from class net.minecraft.client.renderer.entity.MobRenderer

    LEASH_RENDER_STEPS

    Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer

    layers, model

    Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer

    entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
  • Constructor Summary

    Constructors
    Constructor
    Description
    GhastCowRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    getBlockLightLevel(GhastCow entityIn, net.minecraft.core.BlockPos pos)
     
    net.minecraft.resources.ResourceLocation
     
    protected void
    scale(GhastCow ghastCowEntity, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, float partialTickTime)
     

    Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer

    render, shouldRender, shouldShowName

    Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer

    addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, setupRotations

    Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer

    getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GhastCowRenderer

      public GhastCowRenderer(net.minecraft.client.renderer.entity.EntityRendererProvider.Context context)
  • Method Details

    • getBlockLightLevel

      protected int getBlockLightLevel(GhastCow entityIn, net.minecraft.core.BlockPos pos)
      Overrides:
      getBlockLightLevel in class net.minecraft.client.renderer.entity.EntityRenderer<GhastCow>
    • getTextureLocation

      public net.minecraft.resources.ResourceLocation getTextureLocation(GhastCow ghastCow)
      Specified by:
      getTextureLocation in interface net.minecraft.client.renderer.entity.RenderLayerParent<GhastCow,GhastCowModel<GhastCow>>
      Specified by:
      getTextureLocation in class net.minecraft.client.renderer.entity.EntityRenderer<GhastCow>
    • scale

      protected void scale(GhastCow ghastCowEntity, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, float partialTickTime)
      Overrides:
      scale in class net.minecraft.client.renderer.entity.LivingEntityRenderer<GhastCow,GhastCowModel<GhastCow>>