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

java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<T,M>
com.binaris.wizardry.client.renderer.entity.layers.LayerTiledOverlay<T,M>
com.binaris.wizardry.client.renderer.entity.layers.LayerSummonAnimation<T,M>

public class LayerSummonAnimation<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>> extends LayerTiledOverlay<T,M>
  • Constructor Summary

    Constructors
    Constructor
    Description
    LayerSummonAnimation(net.minecraft.client.renderer.entity.RenderLayerParent<T,M> renderer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    getColor(T entity, float partialTicks)
     
    net.minecraft.resources.ResourceLocation
    getTexture(T entity, float partialTicks)
     
    static boolean
    shouldHideModel(net.minecraft.world.entity.LivingEntity entity)
     
    boolean
    shouldRender(T entity, float partialTicks)
     

    Methods inherited from class com.binaris.wizardry.client.renderer.entity.layers.LayerTiledOverlay

    getModel, render, renderSecondLayer

    Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer

    coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel

    Methods inherited from class java.lang.Object

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

    • LayerSummonAnimation

      public LayerSummonAnimation(net.minecraft.client.renderer.entity.RenderLayerParent<T,M> renderer)
  • Method Details

    • shouldRender

      public boolean shouldRender(T entity, float partialTicks)
      Specified by:
      shouldRender in class LayerTiledOverlay<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
    • getTexture

      public net.minecraft.resources.ResourceLocation getTexture(T entity, float partialTicks)
      Specified by:
      getTexture in class LayerTiledOverlay<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
    • getColor

      protected int getColor(T entity, float partialTicks)
      Overrides:
      getColor in class LayerTiledOverlay<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.EntityModel<T>>
    • shouldHideModel

      public static boolean shouldHideModel(net.minecraft.world.entity.LivingEntity entity)