Class OpenCreateMenuButton

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractButton
net.minecraft.client.gui.components.Button
com.simibubi.create.foundation.config.ui.OpenCreateMenuButton
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Widget, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

public class OpenCreateMenuButton extends net.minecraft.client.gui.components.Button
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.client.gui.components.Button

    net.minecraft.client.gui.components.Button.OnPress, net.minecraft.client.gui.components.Button.OnTooltip

    Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry

    net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.world.item.ItemStack
     

    Fields inherited from class net.minecraft.client.gui.components.Button

    NO_TOOLTIP, onPress, onTooltip

    Fields inherited from class net.minecraft.client.gui.components.AbstractWidget

    active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y

    Fields inherited from class net.minecraft.client.gui.GuiComponent

    BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    OpenCreateMenuButton(int x, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    click(net.minecraft.client.gui.components.Button b)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack mstack, int mouseX, int mouseY, float pticks)
     

    Methods inherited from class net.minecraft.client.gui.components.Button

    onPress, renderButton, renderToolTip, updateNarration

    Methods inherited from class net.minecraft.client.gui.components.AbstractButton

    keyPressed, onClick

    Methods inherited from class net.minecraft.client.gui.components.AbstractWidget

    changeFocus, clearFGColor, clicked, createNarrationMessage, defaultButtonNarrationText, getFGColor, getHeight, getMessage, getWidth, getYImage, isActive, isFocused, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, onDrag, onFocusedChanged, onRelease, playDownSound, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth, wrapDefaultNarrationMessage

    Methods inherited from class net.minecraft.client.gui.GuiComponent

    blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine

    Methods inherited from class java.lang.Object

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

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

    charTyped, keyReleased, mouseMoved, mouseScrolled
  • Field Details

    • icon

      public static net.minecraft.world.item.ItemStack icon
  • Constructor Details

    • OpenCreateMenuButton

      public OpenCreateMenuButton(int x, int y)
  • Method Details

    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack mstack, int mouseX, int mouseY, float pticks)
      Specified by:
      render in interface net.minecraft.client.gui.components.Widget
      Overrides:
      render in class net.minecraft.client.gui.components.AbstractWidget
    • click

      public static void click(net.minecraft.client.gui.components.Button b)