Class PixelmonLayerHead

java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
com.pixelmonmod.pixelmon.client.render.layers.PixelmonLayerHead

public class PixelmonLayerHead extends net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
Renders a hat on a player.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PixelmonLayerHead(net.minecraft.client.renderer.entity.player.PlayerRenderer renderer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, net.minecraft.client.player.AbstractClientPlayer player, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
     
    void
    renderHat(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay, net.minecraft.world.entity.player.Player player, PixelExtrasData data, float partialTicks)
     
    void
    renderMask(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay, net.minecraft.world.entity.player.Player player, PixelExtrasData data, float partialTicks)
     
    void
    renderMonocle(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay, net.minecraft.world.entity.player.Player player, PixelExtrasData data, float partialTicks)
     

    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
  • Field Details

    • WITCH_HAT_MODEL

      public static final net.minecraft.resources.ResourceLocation WITCH_HAT_MODEL
  • Constructor Details

    • PixelmonLayerHead

      public PixelmonLayerHead(net.minecraft.client.renderer.entity.player.PlayerRenderer renderer)
  • Method Details

    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, net.minecraft.client.player.AbstractClientPlayer player, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch)
      Specified by:
      render in class net.minecraft.client.renderer.entity.layers.RenderLayer<net.minecraft.client.player.AbstractClientPlayer,net.minecraft.client.model.PlayerModel<net.minecraft.client.player.AbstractClientPlayer>>
    • renderHat

      public void renderHat(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay, net.minecraft.world.entity.player.Player player, PixelExtrasData data, float partialTicks)
    • renderMonocle

      public void renderMonocle(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay, net.minecraft.world.entity.player.Player player, PixelExtrasData data, float partialTicks)
    • renderMask

      public void renderMask(com.mojang.blaze3d.vertex.PoseStack matrix, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay, net.minecraft.world.entity.player.Player player, PixelExtrasData data, float partialTicks)