Interface RenderingHandler
- All Known Implementing Classes:
PlayerRenderingHandler
,PokemonRenderingHandler
,SMDRenderingHandler
public interface RenderingHandler
Used for dictating how the given data should be rendered
on the client
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addScreenButtons
(NPC npc, net.minecraft.client.gui.Font font, net.minecraft.client.gui.layouts.GridLayout.RowHelper rowHelper) com.mojang.serialization.Codec<? extends RenderingHandler>
codec()
copy()
static RenderingHandler
player
(boolean slim, TextureProvider texture) static RenderingHandler
void
render
(NPC npc, float yaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight) static RenderingHandler
slimPlayer
(net.minecraft.resources.ResourceLocation resource) default void
tick
(RenderableEntity entity)
-
Field Details
-
CODEC
-
-
Method Details
-
codec
com.mojang.serialization.Codec<? extends RenderingHandler> codec() -
render
void render(NPC npc, float yaw, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight) -
addScreenButtons
void addScreenButtons(NPC npc, net.minecraft.client.gui.Font font, net.minecraft.client.gui.layouts.GridLayout.RowHelper rowHelper) -
tick
-
copy
RenderingHandler copy() -
slimPlayer
-
player
-
pokemon
-