com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

ekt
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
net.minecraft.unmapped.C_grgwuykf
net.minecraft.client.realms.gui.RealmsWorldSlotButton
net.minecraft.client.realms.gui.RealmsWorldSlotButton
net.minecraft.src.C_3279_

Field summary

Modifier and TypeField
public static final ResourceLocation
a
SLOT_FRAME_LOCATION
field_22681
f_lkidzyle
SLOT_FRAME
SLOT_FRAME
f_87917_
public static final ResourceLocation
b
EMPTY_SLOT_LOCATION
field_22682
f_ilgsrpkh
EMPTY_FRAME
EMPTY_FRAME
f_87918_
public static final ResourceLocation
c
CHECK_MARK_LOCATION
field_39067
f_tkbnssbh
CHECKMARK
CHECKMARK
f_231297_
public static final ResourceLocation
d
DEFAULT_WORLD_SLOT_1
field_22683
f_ougimlkn
PANORAMA_0
PANORAMA_0
f_87919_
public static final ResourceLocation
e
DEFAULT_WORLD_SLOT_2
field_22684
f_kgwodanq
PANORAMA_2
PANORAMA_2
f_87920_
public static final ResourceLocation
f
DEFAULT_WORLD_SLOT_3
field_22685
f_matcaxqu
PANORAMA_3
PANORAMA_3
f_87921_
private static final Component
A
SLOT_ACTIVE_TOOLTIP
field_26468
f_ddxrggty
ACTIVE_TOOLTIP
ACTIVE_TOOLTIP
f_87922_
private static final Component
C
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
f_cxdhjmtv
MINIGAME_TOOLTIP
MINIGAME_TOOLTIP
f_87923_
private static final Component
D
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
f_mgwgnfhp
TOOLTIP
TOOLTIP
f_87924_
private static final Component
E
MINIGAME
field_44894
f_exjwuddd
MINIGAME_SLOT_NAME
MINIGAME
f_286987_
private final Supplier<RealmsServer>
F
serverDataProvider
field_19672
f_acjywced
serverDataProvider
serverDataProvider
f_87925_
private final Consumer<Component>
G
toolTipSetter
field_19673
f_ickbfyfm
tooltipSetter
tooltipSetter
f_87926_
private final int
H
slotIndex
field_19675
f_awjkmevb
slotIndex
slotIndex
f_87914_
private RealmsWorldSlotButton$State
I
state
field_19677
f_kxwhkrqe
state
state
f_87916_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Supplier<RealmsServer> serverDataProvider, Consumer<Component> tooltipSetter, int id, Button$OnPress action)

Method summary

Modifier and TypeMethod
public RealmsWorldSlotButton$State
a()
getState()
method_25099()
m_tepbzhxv()
getState()
getState()
m_87937_()
public void
b()
tick()
method_37007()
m_yopuescn()
tick()
tick()
m_87968_()
private static RealmsWorldSlotButton$Action
a(ejq 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_)
private com.mojang.datafixers.util.Pair<Component, Component>
a(ejq arg0, String arg1, boolean arg2, boolean arg3, ekt$a arg4)
getTooltipAndNarration(RealmsServer arg0, String arg1, boolean arg2, boolean arg3, RealmsWorldSlotButton$Action arg4)
method_27454(class_4877 arg0, String arg1, boolean arg2, boolean arg3, class_4367$class_4368 arg4)
m_dvgxeklt(C_pwmwypfb arg0, String arg1, boolean arg2, boolean arg3, C_grgwuykf$C_gjvrelnr arg4)
getActionPromptAndMessage(RealmsServer server, String text, boolean empty, boolean minigame, RealmsWorldSlotButton$Action action)
getActionPromptAndMessage(RealmsServer server, String text, boolean empty, boolean minigame, RealmsWorldSlotButton$Action action)
m_87953_(C_3244_ p_87955_, String p_87956_, boolean p_87957_, boolean p_87958_, C_3279_$C_3280_ arg4)
public void
b(eox 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)
renderButton(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)
private void
a(eox arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, ekt$a arg12, sw arg13)
drawSlotFrame(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, RealmsWorldSlotButton$Action arg12, Component arg13)
method_21107(class_332 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, class_4367$class_4368 arg12, class_2561 arg13)
m_nkzoewcn(C_sedilmty arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, C_grgwuykf$C_gjvrelnr arg12, C_rdaqiwdt arg13)
drawSlotFrame(DrawContext context, int x, int y, int mouseX, int mouseY, boolean active, String slotName, int slotIndex, long imageId, String image, boolean empty, boolean minigame, RealmsWorldSlotButton$Action action, Text actionPrompt)
drawSlotFrame(GuiGraphics graphics, int x, int y, int mouseX, int mouseY, boolean active, String slotName, int slotIndex, long imageId, String image, boolean empty, boolean minigame, RealmsWorldSlotButton$Action action, Text actionPrompt)
m_280493_(C_279497_ p_282407_, int p_283212_, int p_283646_, int p_283633_, int p_282019_, boolean p_283553_, String p_283521_, int p_281546_, long p_283361_, String p_281611_, boolean p_281804_, boolean p_282910_, C_3279_$C_3280_ arg12, C_4996_ arg13)
private void
a(eox arg0, int arg1, int arg2)
renderCheckMark(GuiGraphics arg0, int arg1, int arg2)
method_43586(class_332 arg0, int arg1, int arg2)
m_mrqlevxv(C_sedilmty arg0, int arg1, int arg2)
drawCheckmark(DrawContext context, int x, int y)
m_mrqlevxv(GuiGraphics graphics, int arg1, int arg2)
m_280498_(C_279497_ p_281849_, int p_283407_, int arg2)