Class LivingEntityRendererMixin<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>

java.lang.Object
com.stereowalker.unionlib.mixin.client.LivingEntityRendererMixin<T,M>
All Implemented Interfaces:
CosmeticHandler.LERAccess<T,M>

public abstract class LivingEntityRendererMixin<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>> extends Object implements CosmeticHandler.LERAccess<T,M>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected float
    getBob(T pLivingBase, float pPartialTick)
     
    float
    getBobA(T pLivingBase, float pPartialTick)
     
    protected float
    getWhiteOverlayProgress(T pLivingEntity, float pPartialTicks)
     
    float
    getWhiteOverlayProgressA(T pLivingEntity, float pPartialTicks)
     
    protected boolean
    isBodyVisible(T pLivingEntity)
     
    boolean
    isBodyVisibleA(T pLivingEntity)
     
    protected void
    scale(T pLivingEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pPartialTickTime)
     
    void
    scaleA(T pLivingEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pPartialTickTime)
     
    protected void
    setupRotations(T pEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick)
     
    void
    setupRotationsA(T pEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick)
     

    Methods inherited from class java.lang.Object

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

    • LivingEntityRendererMixin

      public LivingEntityRendererMixin()
  • Method Details

    • isBodyVisible

      protected boolean isBodyVisible(T pLivingEntity)
    • getBob

      protected float getBob(T pLivingBase, float pPartialTick)
    • getWhiteOverlayProgress

      protected float getWhiteOverlayProgress(T pLivingEntity, float pPartialTicks)
    • scale

      protected void scale(T pLivingEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pPartialTickTime)
    • setupRotations

      protected void setupRotations(T pEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick)
    • isBodyVisibleA

      public boolean isBodyVisibleA(T pLivingEntity)
      Specified by:
      isBodyVisibleA in interface CosmeticHandler.LERAccess<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
    • getBobA

      public float getBobA(T pLivingBase, float pPartialTick)
      Specified by:
      getBobA in interface CosmeticHandler.LERAccess<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
    • getWhiteOverlayProgressA

      public float getWhiteOverlayProgressA(T pLivingEntity, float pPartialTicks)
      Specified by:
      getWhiteOverlayProgressA in interface CosmeticHandler.LERAccess<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
    • scaleA

      public void scaleA(T pLivingEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pPartialTickTime)
      Specified by:
      scaleA in interface CosmeticHandler.LERAccess<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
    • setupRotationsA

      public void setupRotationsA(T pEntity, com.mojang.blaze3d.vertex.PoseStack pPoseStack, float pBob, float pYBodyRot, float pPartialTick)
      Specified by:
      setupRotationsA in interface CosmeticHandler.LERAccess<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>