Class RenderHelper
java.lang.Object
com.mrbysco.justenoughprofessions.RenderHelper
A helper class to render the Villager entity on the screen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrenderVillager(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
-
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 instancex- The x positiony- The y positionscale- The scale of the entitymouseX- The mouse X positionmouseY- The mouse Y positionvillager- The Villager entity to render
-