Uses of Interface
net.minecraft.client.gui.components.Button.OnPress
Packages that use Button.OnPress
Package
Description
-
Uses of Button.OnPress in com.mojang.realmsclient
Constructors in com.mojang.realmsclient with parameters of type Button.OnPressModifierConstructorDescriptionprotected
CrossButton
(Button.OnPress pOnPress, Component pMessage) NotificationButton
(Component pMessage, ResourceLocation pSprite, Button.OnPress pOnPress) -
Uses of Button.OnPress in com.mojang.realmsclient.gui
Constructors in com.mojang.realmsclient.gui with parameters of type Button.OnPressModifierConstructorDescriptionRealmsWorldSlotButton
(int pX, int pY, int pWidth, int pHeight, int pSlotIndex, Button.OnPress pOnPress) -
Uses of Button.OnPress in com.mojang.realmsclient.gui.screens
Constructors in com.mojang.realmsclient.gui.screens with parameters of type Button.OnPressModifierConstructorDescription(package private)
FrameButton
(Font pFont, Component pMessage, ResourceLocation pImage, Button.OnPress pOnPress) -
Uses of Button.OnPress in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as Button.OnPressModifier and TypeFieldDescriptionprivate final Button.OnPress
Button.Builder.onPress
protected final Button.OnPress
Button.onPress
private final Button.OnPress
SpriteIconButton.Builder.onPress
Methods in net.minecraft.client.gui.components with parameters of type Button.OnPressModifier and TypeMethodDescriptionstatic SpriteIconButton
CommonButtons.accessibility
(int pWidth, Button.OnPress pOnPress, boolean pIconOnly) static Button.Builder
Button.builder
(Component pMessage, Button.OnPress pOnPress) static SpriteIconButton.Builder
SpriteIconButton.builder
(Component pMessage, Button.OnPress pOnPress, boolean pIconOnly) static SpriteIconButton
CommonButtons.language
(int pWidth, Button.OnPress pOnPress, boolean pIconOnly) Constructors in net.minecraft.client.gui.components with parameters of type Button.OnPressModifierConstructorDescriptionBuilder
(Component pMessage, Button.OnPress pOnPress) Builder
(Component pMessage, Button.OnPress pOnPress, boolean pIconOnly) protected
Button
(int pX, int pY, int pWidth, int pHeight, Component pMessage, Button.OnPress pOnPress, Button.CreateNarration pCreateNarration) protected
CenteredIcon
(int p_295914_, int p_294852_, Component p_295609_, int p_294922_, int p_296462_, ResourceLocation p_295554_, Button.OnPress p_294427_, Button.CreateNarration p_330653_) ImageButton
(int pX, int pY, int pWidth, int pHeight, WidgetSprites pSprites, Button.OnPress pOnPress) ImageButton
(int pX, int pY, int pWidth, int pHeight, WidgetSprites pSprites, Button.OnPress pOnPress, Component pMessage) ImageButton
(int pWidth, int pHeight, WidgetSprites pSprites, Button.OnPress pOnPress, Component pMessage) LockIconButton
(int pX, int pY, Button.OnPress pOnPress) PlainTextButton
(int pX, int pY, int pWidth, int pHeight, Component pMessage, Button.OnPress pOnPress, Font pFont) (package private)
SpriteIconButton
(int pWidth, int pHeight, Component pMessage, int pSpriteWidth, int pSpriteHeight, ResourceLocation pSprite, Button.OnPress pOnPress, Button.CreateNarration pCreateNarration) protected
TextAndIcon
(int p_296442_, int p_294340_, Component p_296265_, int p_294900_, int p_295900_, ResourceLocation p_296097_, Button.OnPress p_295566_, Button.CreateNarration p_330735_) -
Uses of Button.OnPress in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens that return Button.OnPressModifier and TypeMethodDescriptionstatic Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen pLastScreen, String pUrl) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen pLastScreen, String pUrl, boolean pTrusted) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen pLastScreen, URI pUri) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen pLastScreen, URI pUri, boolean pTrusted) -
Uses of Button.OnPress in net.minecraft.client.gui.screens.inventory
Constructors in net.minecraft.client.gui.screens.inventory with parameters of type Button.OnPressModifierConstructorDescriptionPageButton
(int pX, int pY, boolean pIsForward, Button.OnPress pOnPress, boolean pPlayTurnSound) TradeOfferButton
(int pX, int pY, int pIndex, Button.OnPress pOnPress) -
Uses of Button.OnPress in net.minecraft.client.gui.screens.options
Fields in net.minecraft.client.gui.screens.options declared as Button.OnPressModifier and TypeFieldDescription(package private) final Button.OnPress
UnsupportedGraphicsWarningScreen.ButtonOption.onPress
Constructors in net.minecraft.client.gui.screens.options with parameters of type Button.OnPress -
Uses of Button.OnPress in net.neoforged.neoforge.client.gui.widget
Constructors in net.neoforged.neoforge.client.gui.widget with parameters of type Button.OnPressModifierConstructorDescriptionExtendedButton
(int xPos, int yPos, int width, int height, Component displayString, Button.OnPress handler) ExtendedButton
(int xPos, int yPos, int width, int height, Component displayString, Button.OnPress handler, Button.CreateNarration createNarration) UnicodeGlyphButton
(int xPos, int yPos, int width, int height, Component displayString, String glyph, float glyphScale, Button.OnPress handler) -
Uses of Button.OnPress in net.neoforged.neoforge.oldtest.client
Methods in net.neoforged.neoforge.oldtest.client that return Button.OnPressModifier and TypeMethodDescriptionprivate Button.OnPress
CustomPresetEditorTest.SwampDesertScreen.onPressBiomeButton
(ResourceKey<Biome> biomeKey)