Class MobRenderer<T extends MobEntity,M extends EntityModel<T>>

All Implemented Interfaces:
IEntityRenderer<T,M>
Direct Known Subclasses:
AbstractHorseRenderer, BatRenderer, BeeRenderer, BipedRenderer, BlazeRenderer, CatRenderer, ChickenRenderer, CodRenderer, CowRenderer, CreeperRenderer, DolphinRenderer, EndermanRenderer, EndermiteRenderer, FoxRenderer, GhastRenderer, GiantZombieRenderer, GuardianRenderer, HoglinRenderer, IllagerRenderer, IronGolemRenderer, LlamaRenderer, MagmaCubeRenderer, MooshroomRenderer, OcelotRenderer, PandaRenderer, ParrotRenderer, PhantomRenderer, PigRenderer, PolarBearRenderer, PufferfishRenderer, RabbitRenderer, RavagerRenderer, SalmonRenderer, SheepRenderer, ShulkerRenderer, SilverfishRenderer, SlimeRenderer, SnowManRenderer, SpiderRenderer, SquidRenderer, StriderRenderer, TropicalFishRenderer, TurtleRenderer, VillagerRenderer, WanderingTraderRenderer, WitchRenderer, WitherRenderer, WolfRenderer, ZoglinRenderer

public abstract class MobRenderer<T extends MobEntity,M extends EntityModel<T>> extends LivingRenderer<T,M>
  • Constructor Details

  • Method Details

    • shouldShowName

      protected boolean shouldShowName(T p_177070_1_)
      Overrides:
      shouldShowName in class LivingRenderer<T extends MobEntity,M extends EntityModel<T>>
    • shouldRender

      public boolean shouldRender(T p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
      Overrides:
      shouldRender in class EntityRenderer<T extends MobEntity>
    • 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_)
      Overrides:
      render in class LivingRenderer<T extends MobEntity,M extends EntityModel<T>>
    • renderLeash

      private <E extends Entity> void renderLeash(T p_229118_1_, float p_229118_2_, MatrixStack p_229118_3_, IRenderTypeBuffer p_229118_4_, E p_229118_5_)
    • renderSide

      public static void renderSide(IVertexBuilder p_229119_0_, Matrix4f p_229119_1_, float p_229119_2_, float p_229119_3_, float p_229119_4_, int p_229119_5_, int p_229119_6_, int p_229119_7_, int p_229119_8_, float p_229119_9_, float p_229119_10_, float p_229119_11_, float p_229119_12_)
    • addVertexPair

      public static void addVertexPair(IVertexBuilder p_229120_0_, Matrix4f p_229120_1_, int p_229120_2_, float p_229120_3_, float p_229120_4_, float p_229120_5_, float p_229120_6_, float p_229120_7_, int p_229120_8_, int p_229120_9_, boolean p_229120_10_, float p_229120_11_, float p_229120_12_)