Interface NecromancerRenderer
- All Superinterfaces:
net.minecraft.client.renderer.MultiBufferSource
- All Known Implementing Classes:
NecromancerRenderDispatcher.Batched
,NecromancerRenderDispatcher.Immediate
public interface NecromancerRenderer
extends net.minecraft.client.renderer.MultiBufferSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.renderer.MultiBufferSource
net.minecraft.client.renderer.MultiBufferSource.BufferSource
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(net.minecraft.client.renderer.RenderType renderType, Skeleton skeleton, Skin skin, float partialTicks) Queues the specified skeleton with the specified skin to be rendered.void
reset()
Fully resets the renderer state to default.void
setColor
(float r, float g, float b, float a) void
setColor
(int color) default void
setLight
(int packedLight) default void
setOverlay
(int packedOverlay) void
setTransform
(org.joml.Matrix4fc transform) void
setUv1
(int u, int v) void
setUv2
(int u, int v) Methods inherited from interface net.minecraft.client.renderer.MultiBufferSource
getBuffer
-
Method Details
-
setUv1
void setUv1(int u, int v) -
setUv2
void setUv2(int u, int v) -
setColor
void setColor(float r, float g, float b, float a) -
setColor
void setColor(int color) -
setTransform
void setTransform(org.joml.Matrix4fc transform) -
setLight
default void setLight(int packedLight) -
setOverlay
default void setOverlay(int packedOverlay) -
reset
void reset()Fully resets the renderer state to default. -
draw
void draw(net.minecraft.client.renderer.RenderType renderType, Skeleton skeleton, Skin skin, float partialTicks) Queues the specified skeleton with the specified skin to be rendered.- Parameters:
skeleton
- The skeleton to draw the skin withskin
- The skin to draw
-