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
Modifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocation
-
Constructor Summary
ConstructorDescriptionPixelmonLayerHead
(net.minecraft.client.renderer.entity.player.PlayerRenderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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 classnet.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)
-