com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

eby
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
f_tkbnssbh
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
v
SLOT_ACTIVE_TOOLTIP
field_26468
f_ddxrggty
ACTIVE_TOOLTIP
ACTIVE_TOOLTIP
f_87922_
private static final Component
w
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
f_cxdhjmtv
MINIGAME_TOOLTIP
MINIGAME_TOOLTIP
f_87923_
private static final Component
x
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
f_mgwgnfhp
TOOLTIP
TOOLTIP
f_87924_
private final Supplier<RealmsServer>
y
serverDataProvider
field_19672
f_acjywced
serverDataProvider
serverDataProvider
f_87925_
private final Consumer<Component>
z
toolTipSetter
field_19673
f_ickbfyfm
tooltipSetter
tooltipSetter
f_87926_
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, 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(eay 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(eay arg0, String arg1, boolean arg2, boolean arg3, eby$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_3280_ arg4)
public void
b(dzt arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
m_hbtivtow(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6303_(C_3181_ p_87965_, int p_87966_, int p_87967_, float arg3)
private void
a(dzt arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, eby$a arg12, rm arg13)
drawSlotFrame(PoseStack 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_4587 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_cnszsxvd 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(MatrixStack matrices, 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(MatrixStack matrices, 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_87938_(C_3181_ p_87940_, int p_87941_, int p_87942_, int p_87943_, int p_87944_, boolean p_87945_, String p_87946_, int p_87947_, long p_87948_, String p_87950_, boolean p_87951_, boolean p_87952_, C_3280_ arg12, C_4996_ arg13)
private void
b(dzt arg0, int arg1, int arg2)
renderCheckMark(PoseStack arg0, int arg1, int arg2)
method_43586(class_4587 arg0, int arg1, int arg2)
m_mrqlevxv(C_cnszsxvd arg0, int arg1, int arg2)
drawCheckmark(MatrixStack matrices, int x, int y)
m_mrqlevxv(MatrixStack arg0, int arg1, int arg2)
m_231298_(C_3181_ p_231300_, int p_231301_, int arg2)