public abstract class ConfigScreen extends AbstractSimiScreen
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,org.apache.logging.log4j.util.TriConsumer<net.minecraft.client.gui.screen.Screen,com.mojang.blaze3d.matrix.MatrixStack,java.lang.Float>> |
backgrounds |
static PhysicalFloat |
cogSpin |
static net.minecraft.block.BlockState |
cogwheelState |
static java.lang.String |
modID |
protected net.minecraft.client.gui.screen.Screen |
parent |
guiLeft, guiTop, widgets, windowHeight, windowWidth, windowXOffset, windowYOffset| Constructor and Description |
|---|
ConfigScreen(net.minecraft.client.gui.screen.Screen parent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
endFrame() |
boolean |
isPauseScreen() |
boolean |
mouseScrolled(double mouseX,
double mouseY,
double delta) |
protected void |
prepareFrame() |
void |
renderBackground(com.mojang.blaze3d.matrix.MatrixStack ms) |
protected void |
renderCog(com.mojang.blaze3d.matrix.MatrixStack ms,
float partialTicks) |
protected void |
renderMenuBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
float partialTicks)
By default ConfigScreens will render the Create Panorama as
their background when opened from the Main- or ModList-Menu.
|
protected void |
renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
renderWindowBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
void |
tick() |
static java.lang.String |
toHumanReadable(java.lang.String key) |
charTyped, debugWindowArea, getWidgets, init, keyPressed, mouseClicked, mouseReleased, render, renderWindowForeground, setWindowOffset, setWindowSize, shouldCloseOnEscaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, removed, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, 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 static final java.util.Map<java.lang.String,org.apache.logging.log4j.util.TriConsumer<net.minecraft.client.gui.screen.Screen,com.mojang.blaze3d.matrix.MatrixStack,java.lang.Float>> backgrounds
public static final PhysicalFloat cogSpin
public static final net.minecraft.block.BlockState cogwheelState
public static java.lang.String modID
protected final net.minecraft.client.gui.screen.Screen parent
public void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class AbstractSimiScreenpublic void renderBackground(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack ms)
renderBackground in class net.minecraft.client.gui.screen.Screenprotected void renderWindowBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
renderWindowBackground in class AbstractSimiScreenprotected void prepareFrame()
prepareFrame in class AbstractSimiScreenprotected void endFrame()
endFrame in class AbstractSimiScreenprotected void renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
renderWindow in class AbstractSimiScreenpublic boolean mouseScrolled(double mouseX,
double mouseY,
double delta)
mouseScrolled in interface net.minecraft.client.gui.IGuiEventListenermouseScrolled in interface net.minecraft.client.gui.INestedGuiEventHandlermouseScrolled in class AbstractSimiScreenpublic boolean isPauseScreen()
isPauseScreen in class AbstractSimiScreenpublic static java.lang.String toHumanReadable(java.lang.String key)
protected void renderMenuBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
float partialTicks)
protected void renderCog(com.mojang.blaze3d.matrix.MatrixStack ms,
float partialTicks)