Class TextFieldWidgetMixin
java.lang.Object
net.minecraft.client.gui.DrawContext
net.glasslauncher.mods.api.gcapi.mixin.TextFieldWidgetMixin
- All Implemented Interfaces:
HasDrawable
public abstract class TextFieldWidgetMixin
extends net.minecraft.client.gui.DrawContext
implements HasDrawable
-
Field Summary
Fields inherited from class net.minecraft.client.gui.DrawContext
zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetXYWH(int x, int y, int width, int height) Called when setting the drawable position.Methods inherited from class net.minecraft.client.gui.DrawContext
drawCenteredTextWithShadow, drawHorizontalLine, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.glasslauncher.mods.api.gcapi.api.HasDrawable
draw, keyPressed, mouseClicked, setID, tick
-
Constructor Details
-
TextFieldWidgetMixin
public TextFieldWidgetMixin()
-
-
Method Details
-
setXYWH
public void setXYWH(int x, int y, int width, int height) Description copied from interface:HasDrawableCalled when setting the drawable position. X and Y is the top left corner.- Specified by:
setXYWHin interfaceHasDrawable
-