minecraft-src/net/minecraft/client/gui/components/Renderable.java
2025-07-04 01:41:11 +03:00

18 lines
600 B
Java

package net.minecraft.client.gui.components;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.GuiGraphics;
@Environment(EnvType.CLIENT)
public interface Renderable {
/**
* Renders the graphical user interface (GUI) element.
*
* @param guiGraphics the GuiGraphics object used for rendering.
* @param mouseX the x-coordinate of the mouse cursor.
* @param mouseY the y-coordinate of the mouse cursor.
* @param partialTick the partial tick time.
*/
void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick);
}