Class BaseWildfireScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
com.wildfire.client.gui.screen.BaseWildfireScreen
- All Implemented Interfaces:
IFancyFontRenderer, net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement
- Direct Known Subclasses:
WardrobeBrowserScreen, WildfireBreastCustomizationScreen, WildfireBreastUVEditorScreen, WildfireCloudSyncScreen, WildfireCreditsScreen, WildfireFirstTimeSetupScreen
public abstract class BaseWildfireScreen
extends net.minecraft.client.gui.screens.Screen
implements IFancyFontRenderer
- API Note:
- Only use this on the client side
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResultNested classes/interfaces inherited from interface IFancyFontRenderer
IFancyFontRenderer.TextAlignment -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @Nullable net.minecraft.client.gui.screens.Screenprotected final UUIDFields inherited from class net.minecraft.client.gui.screens.Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, screenExecutor, title, width -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseWildfireScreen(net.minecraft.network.chat.Component title, @Nullable net.minecraft.client.gui.screens.Screen parent, UUID uuid) -
Method Summary
Modifier and TypeMethodDescriptionprotected WildfireButtonaddButton(Consumer<WildfireButton.Builder> builder) protected WildfireSlideraddSlider(Consumer<WildfireSlider.Builder> builder) protected static floatgetEntityScale(net.minecraft.world.entity.LivingEntity entity, float shift) protected static floatgetEntityScale(net.minecraft.world.entity.LivingEntity entity, float shift, boolean adjustByHeight) @Nullable PlayerConfigHolderlongTime the gui was opened in ms, or zero if the time is unknown (scrolling text will just use the current time then)protected voidinit()booleanvoidonClose()protected voidrenderPlayerInFrame(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int xP, int yP, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, extractBackground, extractBlurredBackground, extractMenuBackground, extractMenuBackground, extractMenuBackgroundTexture, extractPanorama, extractRenderState, extractRenderStateWithTooltipAndSubtitles, extractTransparentBackground, fadeWidgets, findNarratableWidget, getBackgroundMusic, getFont, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isInputCaptured, isMouseOver, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, repositionElements, resize, scheduleNarration, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
capturesInput, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface IFancyFontRenderer
drawCenteredTextWrapped, drawScaledScrollingString, drawScaledScrollingString, drawScaledScrollingString, drawScaledScrollingString, drawScrollingString, drawScrollingString, drawScrollingString, drawScrollingString, drawScrollingString, drawScrollingString, fontMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
playerUUID
-
parent
protected final @Nullable net.minecraft.client.gui.screens.Screen parent
-
-
Constructor Details
-
BaseWildfireScreen
protected BaseWildfireScreen(net.minecraft.network.chat.Component title, @Nullable net.minecraft.client.gui.screens.Screen parent, UUID uuid)
-
-
Method Details
-
addButton
-
addSlider
-
getPlayer
-
renderPlayerInFrame
protected void renderPlayerInFrame(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int xP, int yP, int mouseX, int mouseY) -
init
protected void init()- Overrides:
initin classnet.minecraft.client.gui.screens.Screen
-
getTimeOpened
public long getTimeOpened()Description copied from interface:IFancyFontRendererTime the gui was opened in ms, or zero if the time is unknown (scrolling text will just use the current time then)- Specified by:
getTimeOpenedin interfaceIFancyFontRenderer
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreenin classnet.minecraft.client.gui.screens.Screen
-
onClose
public void onClose()- Overrides:
onClosein classnet.minecraft.client.gui.screens.Screen
-
getEntityScale
protected static float getEntityScale(net.minecraft.world.entity.LivingEntity entity, float shift) -
getEntityScale
protected static float getEntityScale(net.minecraft.world.entity.LivingEntity entity, float shift, boolean adjustByHeight)
-