Class EntityRenderer<T extends Entity>

java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
Direct Known Subclasses:
AreaEffectCloudRenderer, ArrowRenderer, BoatRenderer, DragonFireballRenderer, EnderCrystalRenderer, EnderDragonRenderer, EvokerFangsRenderer, ExperienceOrbRenderer, FallingBlockRenderer, FireworkRocketRenderer, FishRenderer, ItemFrameRenderer, ItemRenderer, LeashKnotRenderer, LightningBoltRenderer, LivingRenderer, LlamaSpitRenderer, MinecartRenderer, PaintingRenderer, ShulkerBulletRenderer, SpriteRenderer, TNTRenderer, TridentRenderer, WitherSkullRenderer

public abstract class EntityRenderer<T extends Entity> extends Object
  • Field Details

    • entityRenderDispatcher

      protected final EntityRendererManager entityRenderDispatcher
    • shadowRadius

      protected float shadowRadius
    • shadowStrength

      protected float shadowStrength
  • Constructor Details

  • Method Details

    • getPackedLightCoords

      public final int getPackedLightCoords(T p_229100_1_, float p_229100_2_)
    • getSkyLightLevel

      protected int getSkyLightLevel(T p_239381_1_, BlockPos p_239381_2_)
    • getBlockLightLevel

      protected int getBlockLightLevel(T p_225624_1_, BlockPos p_225624_2_)
    • shouldRender

      public boolean shouldRender(T p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
    • getRenderOffset

      public Vector3d getRenderOffset(T p_225627_1_, float p_225627_2_)
    • render

      public void render(T p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
    • shouldShowName

      protected boolean shouldShowName(T p_177070_1_)
    • getTextureLocation

      public abstract ResourceLocation getTextureLocation(T p_110775_1_)
    • getFont

      public FontRenderer getFont()
    • renderNameTag

      protected void renderNameTag(T p_225629_1_, ITextComponent p_225629_2_, MatrixStack p_225629_3_, IRenderTypeBuffer p_225629_4_, int p_225629_5_)
    • getDispatcher

      public EntityRendererManager getDispatcher()