com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

dsp
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
net.minecraft.unmapped.C_grgwuykf
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
f_87917_
public static final ResourceLocation
b
EMPTY_SLOT_LOCATION
field_22682
f_ilgsrpkh
EMPTY_FRAME
f_87918_
public static final ResourceLocation
c
DEFAULT_WORLD_SLOT_1
field_22683
f_ougimlkn
PANORAMA_0
f_87919_
public static final ResourceLocation
d
DEFAULT_WORLD_SLOT_2
field_22684
f_kgwodanq
PANORAMA_2
f_87920_
public static final ResourceLocation
e
DEFAULT_WORLD_SLOT_3
field_22685
f_matcaxqu
PANORAMA_3
f_87921_
private static final Component
u
SLOT_ACTIVE_TOOLTIP
field_26468
f_ddxrggty
ACTIVE_TOOLTIP
f_87922_
private static final Component
v
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
f_cxdhjmtv
MINIGAME_TOOLTIP
f_87923_
private static final Component
w
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
f_mgwgnfhp
TOOLTIP
f_87924_
private final Supplier<RealmsServer>
x
serverDataProvider
field_19672
f_acjywced
serverDataProvider
f_87925_
private final Consumer<Component>
y
toolTipSetter
field_19673
f_ickbfyfm
toolTipSetter
f_87926_
private final int
z
slotIndex
field_19675
f_awjkmevb
slotIndex
f_87914_
private int
A
animTick
field_19676
f_dgiwxlpj
animTick
f_87915_
private RealmsWorldSlotButton$State
B
state
field_19677
f_kxwhkrqe
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()
m_87937_()
public void
b()
tick()
method_37007()
m_yopuescn()
method_37007()
m_87968_()
private static RealmsWorldSlotButton$Action
a(drp 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)
m_87959_(C_3244_ p_87960_, boolean p_87961_, boolean p_87962_)
private com.mojang.datafixers.util.Pair<Component, Component>
a(drp arg0, String arg1, boolean arg2, boolean arg3, dsp$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)
m_87953_(C_3244_ p_87955_, String p_87956_, boolean p_87957_, boolean p_87958_, C_3279_$C_3280_ arg4)
public void
b(dqk 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)
m_6303_(C_3181_ p_87965_, int p_87966_, int p_87967_, float arg3)
private void
a(dqk arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, dsp$a arg12, os 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)
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_3279_$C_3280_ arg12, C_4996_ arg13)