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 onPress, Component message) NotificationButton
(Component message, ResourceLocation sprite, Button.OnPress onPress) -
Uses of Button.OnPress in com.mojang.realmsclient.gui
Constructors in com.mojang.realmsclient.gui with parameters of type Button.OnPressModifierConstructorDescriptionRealmsWorldSlotButton
(int x, int y, int width, int height, int slotIndex, Button.OnPress onPress) -
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 font, Component message, ResourceLocation image, Button.OnPress onPress) -
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 width, Button.OnPress onPress, boolean iconOnly) static Button.Builder
Button.builder
(Component message, Button.OnPress onPress) static SpriteIconButton.Builder
SpriteIconButton.builder
(Component message, Button.OnPress onPress, boolean iconOnly) static SpriteIconButton
CommonButtons.language
(int width, Button.OnPress onPress, boolean iconOnly) Constructors in net.minecraft.client.gui.components with parameters of type Button.OnPressModifierConstructorDescriptionBuilder
(Component message, Button.OnPress onPress) Builder
(Component message, Button.OnPress onPress, boolean iconOnly) protected
Button
(int x, int y, int width, int height, Component message, Button.OnPress onPress, Button.CreateNarration createNarration) 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 x, int y, int width, int height, WidgetSprites sprites, Button.OnPress onPress) ImageButton
(int x, int y, int width, int height, WidgetSprites sprites, Button.OnPress onPress, Component message) ImageButton
(int width, int height, WidgetSprites sprites, Button.OnPress onPress, Component message) LockIconButton
(int x, int y, Button.OnPress onPress) PlainTextButton
(int x, int y, int width, int height, Component message, Button.OnPress onPress, Font font) (package private)
SpriteIconButton
(int width, int height, Component message, int spriteWidth, int spriteHeight, ResourceLocation sprite, Button.OnPress onPress, Button.CreateNarration createNarration) 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 lastScreen, String url) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen lastScreen, String url, boolean trusted) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen lastScreen, URI uri) static Button.OnPress
ConfirmLinkScreen.confirmLink
(Screen lastScreen, URI uri, boolean trusted) -
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 x, int y, boolean isForward, Button.OnPress onPress, boolean playTurnSound) TradeOfferButton
(int x, int y, int index, Button.OnPress onPress) -
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)