com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fdp
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
net.minecraft.client.realms.gui.RealmsWorldSlotButton
net.minecraft.src.C_3279_

Field summary

Modifier and TypeField
private static final ResourceLocation
u
SLOT_FRAME_SPRITE
field_22681
SLOT_FRAME
f_291227_
private static final ResourceLocation
v
CHECKMARK_SPRITE
field_39067
CHECKMARK
f_291357_
public static final ResourceLocation
a
EMPTY_SLOT_LOCATION
field_22682
EMPTY_FRAME
f_87918_
public static final ResourceLocation
b
DEFAULT_WORLD_SLOT_1
field_22683
PANORAMA_0
f_87919_
public static final ResourceLocation
c
DEFAULT_WORLD_SLOT_2
field_22684
PANORAMA_2
f_87920_
public static final ResourceLocation
d
DEFAULT_WORLD_SLOT_3
field_22685
PANORAMA_3
f_87921_
private static final Component
w
SLOT_ACTIVE_TOOLTIP
field_26468
ACTIVE_TOOLTIP
f_87922_
private static final Component
x
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
MINIGAME_TOOLTIP
f_87923_
private static final Component
y
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
TOOLTIP
f_87924_
static final Component
z
MINIGAME
field_44894
MINIGAME_SLOT_NAME
f_286987_
private final int
A
slotIndex
field_19675
slotIndex
f_87914_
private RealmsWorldSlotButton$State
B
state
field_19677
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()
getState()
m_87937_()
public void
a(fcp arg0)
setServerData(RealmsServer arg0)
method_54571(class_4877 arg0)
setServer(RealmsServer server)
m_306833_(C_3244_ arg0)
private void
a(fdp$b arg0, String arg1)
setTooltipAndNarration(RealmsWorldSlotButton$State arg0, String arg1)
method_54572(class_4367$class_4370 arg0, String arg1)
updateTooltip(RealmsWorldSlotButton$State state, String minigameName)
m_307605_(C_3279_$C_3281_ p_310582_, String arg1)
static RealmsWorldSlotButton$Action
a(fcp arg0, boolean arg1, boolean arg2)
getAction(RealmsServer arg0, boolean arg1, boolean arg2)
method_27455(class_4877 arg0, boolean arg1, boolean arg2)
getAction(RealmsServer server, boolean active, boolean minigame)
m_87959_(C_3244_ p_87960_, boolean p_87961_, boolean p_87962_)
public void
b(fhz 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)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_87965_, int p_87966_, int p_87967_, float arg3)