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 Details

  • 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

      default void tick(RenderableEntity entity)
    • copy

    • slimPlayer

      static RenderingHandler slimPlayer(net.minecraft.resources.ResourceLocation resource)
    • player

      static RenderingHandler player(boolean slim, TextureProvider texture)
    • pokemon

      static RenderingHandler pokemon(Pokemon pokemon)