public class TextureElement<T extends net.minecraft.client.gui.GuiScreen> extends Element<T>
| Constructor and Description |
|---|
TextureElement(T gui,
net.minecraft.util.ResourceLocation texture,
float posX,
float posY,
int u,
int v,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(float mouseX,
float mouseY,
float partialTicks) |
drawOutline, drawRectangle, drawString, drawTexturedRectangle, endScissor, getChildren, getColorScheme, getGUI, getHeight, getParent, getPosX, getPosY, getWidth, init, isEnabled, isSelected, isVisible, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setEnabled, setHeight, setPosX, setPosY, setVisible, setWidth, startScissor, update, withColorScheme, withParentpublic TextureElement(T gui, net.minecraft.util.ResourceLocation texture, float posX, float posY, int u, int v, int width, int height)