Class HumanWerewolfLayer<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.HumanoidModel<T>,A extends net.minecraft.client.model.HumanoidModel<T>>

java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<T,M>
de.teamlapen.werewolves.client.render.layer.HumanWerewolfLayer<T,M,A>

public class HumanWerewolfLayer<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.HumanoidModel<T>,A extends net.minecraft.client.model.HumanoidModel<T>> extends net.minecraft.client.renderer.entity.layers.RenderLayer<T,M>
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected static <T extends net.minecraft.world.entity.LivingEntity>
    void
    coloredCutoutModelCopyLayerRender(net.minecraft.client.model.HumanoidModel<T> pModelParent, net.minecraft.client.model.EntityModel<T> pModel, net.minecraft.resources.ResourceLocation pTextureLocation, com.mojang.blaze3d.vertex.PoseStack pPoseStack, net.minecraft.client.renderer.MultiBufferSource pBuffer, int pPackedLight, T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch, float pPartialTick, int pColor)
     
    protected @NotNull net.minecraft.resources.ResourceLocation
     
    void
    render(@NotNull com.mojang.blaze3d.vertex.PoseStack stack, @NotNull net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, T entity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch)
     

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

    coloredCutoutModelCopyLayerRender, getParentModel, renderColoredCutoutModel

    Methods inherited from class java.lang.Object

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

    • HumanWerewolfLayer

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

    • render

      public void render(@NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack stack, @NotNull @NotNull net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, @NotNull T entity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch)
      Specified by:
      render in class net.minecraft.client.renderer.entity.layers.RenderLayer<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.HumanoidModel<T>>
    • coloredCutoutModelCopyLayerRender

      protected static <T extends net.minecraft.world.entity.LivingEntity> void coloredCutoutModelCopyLayerRender(net.minecraft.client.model.HumanoidModel<T> pModelParent, net.minecraft.client.model.EntityModel<T> pModel, net.minecraft.resources.ResourceLocation pTextureLocation, com.mojang.blaze3d.vertex.PoseStack pPoseStack, net.minecraft.client.renderer.MultiBufferSource pBuffer, int pPackedLight, T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch, float pPartialTick, int pColor)
    • getTextureLocation

      @NotNull protected @NotNull net.minecraft.resources.ResourceLocation getTextureLocation(@NotNull T entity)
      Overrides:
      getTextureLocation in class net.minecraft.client.renderer.entity.layers.RenderLayer<T extends net.minecraft.world.entity.LivingEntity,M extends net.minecraft.client.model.HumanoidModel<T>>