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
ConstructorsConstructorDescriptionHumanWerewolfLayer(net.minecraft.client.renderer.entity.RenderLayerParent<T, M> renderer, A model) -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T extends net.minecraft.world.entity.LivingEntity>
voidcoloredCutoutModelCopyLayerRender(net.minecraft.client.model.HumanoidModel<T> pModelParent, net.minecraft.client.model.HumanoidModel<T> pModel, net.minecraft.resources.ResourceLocation pTextureLocation, com.mojang.blaze3d.vertex.PoseStack pMatrixStack, net.minecraft.client.renderer.MultiBufferSource pBuffer, int pPackedLight, T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch, float pPartialTicks, float pRed, float pGreen, float pBlue) fromRenderLayer.coloredCutoutModelCopyLayerRender(net.minecraft.client.model.EntityModel, net.minecraft.client.model.EntityModel, net.minecraft.resources.ResourceLocation, com.mojang.blaze3d.vertex.PoseStack, net.minecraft.client.renderer.MultiBufferSource, int, net.minecraft.world.entity.LivingEntity, float, float, float, float, float, float, float, float, float)but with humanoid model to copy the correct propertiesprotected @NotNull net.minecraft.resources.ResourceLocationgetTextureLocation(T entity) voidrender(@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
-
Constructor Details
-
HumanWerewolfLayer
-
-
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) -
coloredCutoutModelCopyLayerRender
protected static <T extends net.minecraft.world.entity.LivingEntity> void coloredCutoutModelCopyLayerRender(net.minecraft.client.model.HumanoidModel<T> pModelParent, net.minecraft.client.model.HumanoidModel<T> pModel, net.minecraft.resources.ResourceLocation pTextureLocation, com.mojang.blaze3d.vertex.PoseStack pMatrixStack, net.minecraft.client.renderer.MultiBufferSource pBuffer, int pPackedLight, T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch, float pPartialTicks, float pRed, float pGreen, float pBlue) fromRenderLayer.coloredCutoutModelCopyLayerRender(net.minecraft.client.model.EntityModel, net.minecraft.client.model.EntityModel, net.minecraft.resources.ResourceLocation, com.mojang.blaze3d.vertex.PoseStack, net.minecraft.client.renderer.MultiBufferSource, int, net.minecraft.world.entity.LivingEntity, float, float, float, float, float, float, float, float, float)but with humanoid model to copy the correct properties -
getTextureLocation
@NotNull protected @NotNull net.minecraft.resources.ResourceLocation getTextureLocation(@NotNull T entity)
-