public class ExtrasEditorScreen extends DropDownScreen
dropDownManager, guiLeft, guiTop, xSize, ySize
Constructor and Description |
---|
ExtrasEditorScreen() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackgroundUnderMenus(com.mojang.blaze3d.matrix.MatrixStack matrix,
float partialTicks,
int mouseX,
int mouseY)
Draws the screen background under the drop-down menus.
|
void |
init() |
boolean |
isPauseScreen()
Returns true if this GUI should pause the game when it is displayed in single-player
|
boolean |
mouseDragged(double mouseX,
double mouseY,
int button,
double dragX,
double dragY) |
boolean |
mouseScrolled(double mouseX,
double mouseY,
double delta) |
void |
onClose() |
void |
removed()
Called when the screen is unloaded.
|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
addDropDown, disableMenus, drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, mouseClicked, mouseClickedUnderMenus, removeDropDown
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void init()
init
in class DropDownScreen
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
render
in interface net.minecraft.client.gui.IRenderable
render
in class DropDownScreen
protected void drawBackgroundUnderMenus(com.mojang.blaze3d.matrix.MatrixStack matrix, float partialTicks, int mouseX, int mouseY)
drawBackgroundUnderMenus
in class DropDownScreen
partialTicks
- The current number of partial ticks.mouseX
- The x coordinate of the mouse.mouseY
- The y coordinate of the mouse.public void removed()
removed
in class net.minecraft.client.gui.screen.Screen
public boolean isPauseScreen()
isPauseScreen
in class DropDownScreen
public void onClose()
onClose
in class net.minecraft.client.gui.screen.Screen
public boolean mouseScrolled(double mouseX, double mouseY, double delta)
mouseScrolled
in interface net.minecraft.client.gui.IGuiEventListener
mouseScrolled
in interface net.minecraft.client.gui.INestedGuiEventHandler
mouseScrolled
in class DropDownScreen
public boolean mouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY)
mouseDragged
in interface net.minecraft.client.gui.IGuiEventListener
mouseDragged
in interface net.minecraft.client.gui.INestedGuiEventHandler
mouseDragged
in class DropDownScreen