com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button implements TickableWidget

All mapped superinterfaces:

Widget, GuiEventListener, TickableWidget

dhm
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
net.minecraft.unmapped.C_grgwuykf
net.minecraft.client.realms.gui.RealmsWorldSlotButton
com.mojang.realmsclient.gui.RealmsServerSlotButton

Field summary

Modifier and TypeField
public static final ResourceLocation
a
SLOT_FRAME_LOCATION
field_22681
f_lkidzyle
SLOT_FRAME
field_237712_a_
public static final ResourceLocation
b
EMPTY_SLOT_LOCATION
field_22682
f_ilgsrpkh
EMPTY_FRAME
field_237713_b_
public static final ResourceLocation
c
DEFAULT_WORLD_SLOT_1
field_22683
f_ougimlkn
PANORAMA_0
field_237714_c_
public static final ResourceLocation
d
DEFAULT_WORLD_SLOT_2
field_22684
f_kgwodanq
PANORAMA_2
field_237715_d_
public static final ResourceLocation
e
DEFAULT_WORLD_SLOT_3
field_22685
f_matcaxqu
PANORAMA_3
field_237716_e_
private static final Component
v
SLOT_ACTIVE_TOOLTIP
field_26468
f_ddxrggty
field_26468
field_243091_v
private static final Component
w
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
f_cxdhjmtv
field_26469
field_243092_w
private static final Component
x
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
f_mgwgnfhp
field_26470
field_243093_x
private final Supplier<RealmsServer>
y
serverDataProvider
field_19672
f_acjywced
serverDataProvider
field_223773_a
private final Consumer<Component>
z
toolTipSetter
field_19673
f_ickbfyfm
toolTipSetter
field_223774_b
private final int
A
slotIndex
field_19675
f_awjkmevb
slotIndex
field_223776_d
private int
B
animTick
field_19676
f_dgiwxlpj
animTick
field_223777_e
private RealmsWorldSlotButton$State
C
state
field_19677
f_kxwhkrqe
state
field_223778_f

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()
func_237717_a_()
public void
d()
tick()
method_25393()
m_fuymrvol()
tick()
func_231023_e_()
private static RealmsWorldSlotButton$Action
a(dgq 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)
method_27455(RealmsServer arg0, boolean arg1, boolean arg2)
func_237720_a_(RealmsServer arg0, boolean arg1, boolean arg2)
private com.mojang.datafixers.util.Pair<Component, Component>
a(dgq arg0, String arg1, boolean arg2, boolean arg3, dhm$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)
method_27454(RealmsServer arg0, String arg1, boolean arg2, boolean arg3, RealmsWorldSlotButton$Action arg4)
func_237719_a_(RealmsServer arg0, String arg1, boolean arg2, boolean arg3, RealmsServerSlotButton$Action arg4)
public void
b(dfm 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)
func_230431_b_(MatrixStack arg0, int arg1, int arg2, float arg3)
private void
a(dfm arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, dhm$a arg12, nr 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)
func_237718_a_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, RealmsServerSlotButton$Action arg12, ITextComponent arg13)