com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fci
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
net.minecraft.unmapped.C_grgwuykf
net.minecraft.client.realms.gui.RealmsWorldSlotButton
net.minecraft.client.gui.widget.button.realms.RealmsWorldSlotButtonWidget
net.minecraft.src.C_3279_

Field summary

Modifier and TypeField
private static final ResourceLocation
u
SLOT_FRAME_SPRITE
field_22681
f_gzjklywl
SLOT_FRAME
SLOT_FRAME
f_291227_
private static final ResourceLocation
v
CHECKMARK_SPRITE
field_39067
f_doohdhjo
CHECKMARK
CHECKMARK
f_291357_
public static final ResourceLocation
a
EMPTY_SLOT_LOCATION
field_22682
f_ilgsrpkh
EMPTY_FRAME
EMPTY_FRAME
f_87918_
public static final ResourceLocation
b
DEFAULT_WORLD_SLOT_1
field_22683
f_ougimlkn
PANORAMA_0
PANORAMA_0
f_87919_
public static final ResourceLocation
c
DEFAULT_WORLD_SLOT_2
field_22684
f_kgwodanq
PANORAMA_2
PANORAMA_2
f_87920_
public static final ResourceLocation
d
DEFAULT_WORLD_SLOT_3
field_22685
f_matcaxqu
PANORAMA_3
PANORAMA_3
f_87921_
private static final Component
w
SLOT_ACTIVE_TOOLTIP
field_26468
f_ddxrggty
ACTIVE_TOOLTIP
ACTIVE_TOOLTIP
f_87922_
private static final Component
x
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
f_cxdhjmtv
MINIGAME_TOOLTIP
MINIGAME_TOOLTIP
f_87923_
private static final Component
y
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
f_mgwgnfhp
TOOLTIP
TOOLTIP
f_87924_
static final Component
z
MINIGAME
field_44894
f_exjwuddd
MINIGAME_SLOT_NAME
MINIGAME
f_286987_
private final int
A
slotIndex
field_19675
f_awjkmevb
slotIndex
slotIndex
f_87914_
private RealmsWorldSlotButton$State
B
state
field_19677
f_kxwhkrqe
state
state
f_87916_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, int slotIndex, Button$OnPress pressAction)

Method summary

Modifier and TypeMethod
public RealmsWorldSlotButton$State
a()
getState()
method_25099()
m_tepbzhxv()
getState()
getState()
m_87937_()
public void
a(fbg arg0)
setServerData(RealmsServer arg0)
method_54571(class_4877 arg0)
m_miuchmhn(C_pwmwypfb arg0)
setServer(RealmsServer server)
setState(RealmsServer server)
m_306833_(C_3244_ arg0)
private void
a(fci$b arg0, String arg1)
setTooltipAndNarration(RealmsWorldSlotButton$State arg0, String arg1)
method_54572(class_4367$class_4370 arg0, String arg1)
m_xvrocdbw(C_grgwuykf$C_tappwwnu arg0, String arg1)
updateTooltip(RealmsWorldSlotButton$State state, String minigameName)
updateMessage(RealmsWorldSlotButtonWidget$State state, String gameName)
m_307605_(C_3279_$C_3281_ p_310582_, String arg1)
static RealmsWorldSlotButton$Action
a(fbg arg0, boolean arg1, boolean arg2)
getAction(RealmsServer arg0, boolean arg1, boolean arg2)
method_27455(class_4877 arg0, boolean arg1, boolean arg2)
m_ituwtbcm(C_pwmwypfb arg0, boolean arg1, boolean arg2)
getAction(RealmsServer server, boolean active, boolean minigame)
getAction(RealmsServer server, boolean active, boolean minigame)
m_87959_(C_3244_ p_87960_, boolean p_87961_, boolean p_87962_)
public void
b(fgs arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
m_mxhoikgj(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
drawWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_87965_, int p_87966_, int p_87967_, float arg3)