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

All Implemented Interfaces:
RenderLayerParent<T,M>
Direct Known Subclasses:
AbstractHorseRenderer, AllayRenderer, AxolotlRenderer, BatRenderer, BeeRenderer, BlazeRenderer, CamelRenderer, CatRenderer, ChickenRenderer, CodRenderer, CowRenderer, CreeperRenderer, DolphinRenderer, EndermanRenderer, EndermiteRenderer, FoxRenderer, FrogRenderer, GhastRenderer, GiantMobRenderer, GoatRenderer, GuardianRenderer, HoglinRenderer, HumanoidMobRenderer, IllagerRenderer, IronGolemRenderer, LlamaRenderer, MagmaCubeRenderer, MushroomCowRenderer, OcelotRenderer, PandaRenderer, ParrotRenderer, PhantomRenderer, PigRenderer, PolarBearRenderer, PufferfishRenderer, RabbitRenderer, RavagerRenderer, SalmonRenderer, SheepRenderer, ShulkerRenderer, SilverfishRenderer, SlimeRenderer, SnifferRenderer, SnowGolemRenderer, SpiderRenderer, SquidRenderer, StriderRenderer, TadpoleRenderer, TropicalFishRenderer, TurtleRenderer, VexRenderer, VillagerRenderer, WanderingTraderRenderer, WardenRenderer, WitchRenderer, WitherBossRenderer, WolfRenderer, ZoglinRenderer

public abstract class MobRenderer<T extends Mob,M extends EntityModel<T>> extends LivingEntityRenderer<T,M>
  • Field Details

  • Constructor Details

  • Method Details

    • shouldShowName

      protected boolean shouldShowName(T p_115506_)
      Overrides:
      shouldShowName in class LivingEntityRenderer<T extends Mob,M extends EntityModel<T>>
    • shouldRender

      public boolean shouldRender(T p_115468_, Frustum p_115469_, double p_115470_, double p_115471_, double p_115472_)
      Overrides:
      shouldRender in class EntityRenderer<T extends Mob>
    • render

      public void render(T p_115455_, float p_115456_, float p_115457_, PoseStack p_115458_, MultiBufferSource p_115459_, int p_115460_)
      Overrides:
      render in class LivingEntityRenderer<T extends Mob,M extends EntityModel<T>>
    • renderLeash

      private <E extends Entity> void renderLeash(T p_115462_, float p_115463_, PoseStack p_115464_, MultiBufferSource p_115465_, E p_115466_)
    • addVertexPair

      private static void addVertexPair(VertexConsumer p_174308_, org.joml.Matrix4f p_254405_, float p_174310_, float p_174311_, float p_174312_, int p_174313_, int p_174314_, int p_174315_, int p_174316_, float p_174317_, float p_174318_, float p_174319_, float p_174320_, int p_174321_, boolean p_174322_)