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.NarratableSearchResult

    Nested classes/interfaces inherited from interface IFancyFontRenderer

    IFancyFontRenderer.TextAlignment
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final @Nullable net.minecraft.client.gui.screens.Screen
     
    protected final UUID
     

    Fields 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

    Constructors
    Modifier
    Constructor
    Description
    protected
    BaseWildfireScreen(net.minecraft.network.chat.Component title, @Nullable net.minecraft.client.gui.screens.Screen parent, UUID uuid)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected WildfireButton
     
    protected WildfireSlider
     
    protected static float
    getEntityScale(net.minecraft.world.entity.LivingEntity entity, float shift)
     
    protected static float
    getEntityScale(net.minecraft.world.entity.LivingEntity entity, float shift, boolean adjustByHeight)
     
     
    long
    Time the gui was opened in ms, or zero if the time is unknown (scrolling text will just use the current time then)
    protected void
     
    boolean
     
    void
     
    protected void
    renderPlayerInFrame(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, updateNarratorStatus

    Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler

    getFocused, isDragging, setDragging, setFocused

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler

    charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, setFocused

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    capturesInput, mouseMoved, shouldTakeFocusAfterInteraction

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Field Details

    • playerUUID

      protected final UUID 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

      protected WildfireButton addButton(Consumer<WildfireButton.Builder> builder)
    • addSlider

      protected WildfireSlider addSlider(Consumer<WildfireSlider.Builder> builder)
    • getPlayer

      public @Nullable PlayerConfigHolder getPlayer()
    • renderPlayerInFrame

      protected void renderPlayerInFrame(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int xP, int yP, int mouseX, int mouseY)
    • init

      protected void init()
      Overrides:
      init in class net.minecraft.client.gui.screens.Screen
    • getTimeOpened

      public long getTimeOpened()
      Description copied from interface: IFancyFontRenderer
      Time the gui was opened in ms, or zero if the time is unknown (scrolling text will just use the current time then)
      Specified by:
      getTimeOpened in interface IFancyFontRenderer
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class net.minecraft.client.gui.screens.Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class net.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)