EditHudGUI

object EditHudGUI : GuiScreen

The GUI for editing the positions and scale of HUD elements.

Author

Aton

Functions

Link copied to clipboard
fun addHUDElements(newElements: List<HudElement>)
Link copied to clipboard
open override fun confirmClicked(result: Boolean, id: Int)
Link copied to clipboard
Link copied to clipboard
open fun drawBackground(tint: Int)
Link copied to clipboard
open fun drawCenteredString(fontRendererIn: FontRenderer, text: String, x: Int, y: Int, color: Int)
Link copied to clipboard
Link copied to clipboard
open override fun drawScreen(mouseX: Int, mouseY: Int, partialTicks: Float)

Draw a previes of all hud elements, regardless of whether they are visible.

Link copied to clipboard
open fun drawString(fontRendererIn: FontRenderer, text: String, x: Int, y: Int, color: Int)
Link copied to clipboard
open fun drawTexturedModalRect(xCoord: Int, yCoord: Int, textureSprite: TextureAtlasSprite, widthIn: Int, heightIn: Int)
open fun drawTexturedModalRect(xCoord: Float, yCoord: Float, minU: Int, minV: Int, maxU: Int, maxV: Int)
open fun drawTexturedModalRect(x: Int, y: Int, textureX: Int, textureY: Int, width: Int, height: Int)
Link copied to clipboard
open fun drawWorldBackground(tint: Int)
Link copied to clipboard
open fun handleInput()
Link copied to clipboard
Link copied to clipboard
open override fun handleMouseInput()
Link copied to clipboard
open fun initGui()
Link copied to clipboard
open override fun onGuiClosed()
Link copied to clipboard
open fun onResize(mcIn: Minecraft, w: Int, h: Int)
Link copied to clipboard
open fun sendChatMessage(msg: String)
open fun sendChatMessage(msg: String, addToChat: Boolean)
Link copied to clipboard
open fun setGuiSize(w: Int, h: Int)
Link copied to clipboard
open fun setWorldAndResolution(mc: Minecraft, width: Int, height: Int)
Link copied to clipboard
open fun updateScreen()

Properties

Link copied to clipboard
Link copied to clipboard
var height: Int
Link copied to clipboard
var mc: Minecraft
Link copied to clipboard
var width: Int