net.minecraft.client.realms.gui

public class RealmsWorldSlotButton

extends ButtonWidget implements TickableElement

All mapped superinterfaces:

Drawable, Element, TickableElement

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

Field summary

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

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Supplier<RealmsServer> serverDataProvider, Consumer<Text> toolTipSetter, int id, ButtonWidget$PressAction action)

Method summary

Modifier and TypeMethod
public RealmsWorldSlotButton$State
a()
getState()
method_25099()
getState()
m_tepbzhxv()
func_237717_a_()
func_237717_a_()
public void
d()
tick()
method_25393()
tick()
m_fuymrvol()
func_231023_e_()
tick()
private static RealmsWorldSlotButton$Action
a(dgn arg0, boolean arg1, boolean arg2)
getAction(RealmsServer arg0, boolean arg1, boolean arg2)
method_27455(class_4877 arg0, boolean arg1, boolean arg2)
method_27455(RealmsServer arg0, boolean arg1, boolean arg2)
m_ituwtbcm(C_pwmwypfb arg0, boolean arg1, boolean arg2)
func_237720_a_(RealmsServer arg0, boolean arg1, boolean arg2)
func_237720_a_(RealmsServer arg0, boolean arg1, boolean arg2)
private Pair<Text, Text>
a(dgn arg0, String arg1, boolean arg2, boolean arg3, dhj$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)
method_27454(RealmsServer arg0, String arg1, boolean arg2, boolean arg3, RealmsWorldSlotButton$Action arg4)
m_dvgxeklt(C_pwmwypfb arg0, String arg1, boolean arg2, boolean arg3, C_grgwuykf$C_gjvrelnr arg4)
func_237719_a_(RealmsServer arg0, String arg1, boolean arg2, boolean arg3, RealmsServerSlotButton$Action arg4)
func_237719_a_(RealmsServer arg0, String arg1, boolean arg2, boolean arg3, RealmsServerSlotButton$Action arg4)
public void
b(dfj 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)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_hbtivtow(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
func_230431_b_(MatrixStack arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
private void
a(dfj arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, dhj$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)
drawSlotFrame(MatrixStack matrices, int x, int y, int mouseX, int mouseY, boolean arg5, String text, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, RealmsWorldSlotButton$Action arg12, Text 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)
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)
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)