Class NecromancerEntityRenderer<T extends net.minecraft.world.entity.Entity & SkeletonParent,M extends Skeleton<T>>
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
foundry.veil.api.client.necromancer.render.NecromancerEntityRenderer<T,M>
public abstract class NecromancerEntityRenderer<T extends net.minecraft.world.entity.Entity & SkeletonParent,M extends Skeleton<T>>
extends net.minecraft.client.renderer.entity.EntityRenderer<T>
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ModifierConstructorDescriptionprotected
NecromancerEntityRenderer
(net.minecraft.client.renderer.entity.EntityRendererProvider.Context pContext, Function<T, M> skeletonFactory, BiFunction<T, M, Animator<T, M>> animatorFactory, float shadowRadius) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayer
(NecromancerEntityRenderLayer<T, M> layer) int
getOverlayCoords
(T pEntity) protected net.minecraft.client.renderer.RenderType
getRenderType
(T pLivingEntity, boolean visible, boolean spectator, boolean glowing) abstract net.minecraft.client.renderer.RenderType
getRenderType
(T entity, net.minecraft.resources.ResourceLocation texture) void
render
(T pEntity, float pEntityYaw, float pPartialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource pBuffer, int pPackedLight) void
renderSkin
(T entity, M skeleton, Skin<M> skin, int ticksExisted, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int packedLight, int packedOverlay, float r, float g, float b, float a) void
setupEntity
(T entity) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, getTextureLocation, renderNameTag, shouldRender, shouldShowName
-
Constructor Details
-
NecromancerEntityRenderer
-
-
Method Details
-
addLayer
-
setupEntity
-
getSkin
-
render
public void render(T pEntity, float pEntityYaw, float pPartialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource pBuffer, int pPackedLight) - Overrides:
render
in classnet.minecraft.client.renderer.entity.EntityRenderer<T extends net.minecraft.world.entity.Entity & SkeletonParent>
-
getOverlayCoords
-
renderSkin
-
getRenderType
public abstract net.minecraft.client.renderer.RenderType getRenderType(T entity, net.minecraft.resources.ResourceLocation texture) -
getRenderType
protected net.minecraft.client.renderer.RenderType getRenderType(T pLivingEntity, boolean visible, boolean spectator, boolean glowing)
-