public class GuiPressureModule extends GuiTubeModule<TubeModule>
moduleguiLeft, guiTop, xSize, ySize| Constructor and Description |
|---|
GuiPressureModule(TubeModule module) |
| Modifier and Type | Method and Description |
|---|---|
static GuiTubeModule<?> |
createGUI(TubeModule module) |
void |
drawForeground(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
Do GUI-specific foreground drawing here rather than overriding render(), so that tooltips drawn by render are
drawn last and stay on top.
|
protected net.minecraft.util.ResourceLocation |
getTexture() |
void |
init() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
boolean |
mouseDragged(double mouseX,
double mouseY,
int clickedMouseButton,
double dx,
double dy) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int state) |
void |
tick() |
isPauseScreen, openGuiForModule, renderaddButton, addLabel, addLabel, removeWidgetaddWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GuiPressureModule(TubeModule module)
public static GuiTubeModule<?> createGUI(TubeModule module)
public void init()
init in class GuiPneumaticScreenBaseprotected net.minecraft.util.ResourceLocation getTexture()
getTexture in class GuiPneumaticScreenBasepublic void drawForeground(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
GuiPneumaticScreenBasedrawForeground in class GuiPneumaticScreenBasematrixStack - the matrix stackmouseX - mouse XmouseY - mouse YpartialTicks - partial tickspublic boolean mouseClicked(double mouseX,
double mouseY,
int mouseButton)
public boolean mouseDragged(double mouseX,
double mouseY,
int clickedMouseButton,
double dx,
double dy)
public boolean mouseReleased(double mouseX,
double mouseY,
int state)
mouseReleased in interface net.minecraft.client.gui.IGuiEventListenermouseReleased in interface net.minecraft.client.gui.INestedGuiEventHandlermouseReleased in class GuiPneumaticScreenBasepublic void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class GuiPneumaticScreenBase