Class RenderHelper

java.lang.Object
com.mrbysco.justenoughprofessions.RenderHelper

public class RenderHelper extends Object
A helper class to render the Villager entity on the screen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    renderVillager(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int x, int y, double scale, double mouseX, double mouseY, net.minecraft.world.entity.npc.villager.Villager villager)
    Render the Villager entity on the screen

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RenderHelper

      public RenderHelper()
  • Method Details

    • renderVillager

      public static void renderVillager(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int x, int y, double scale, double mouseX, double mouseY, net.minecraft.world.entity.npc.villager.Villager villager)
      Render the Villager entity on the screen
      Parameters:
      guiGraphics - The GuiGraphics instance
      x - The x position
      y - The y position
      scale - The scale of the entity
      mouseX - The mouse X position
      mouseY - The mouse Y position
      villager - The Villager entity to render