com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button implements TickableWidget

All mapped superinterfaces:

Widget, GuiEventListener, TickableWidget

dhj
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
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
SLOT_FRAME
field_237712_a_
public static final ResourceLocation
b
EMPTY_SLOT_LOCATION
field_22682
EMPTY_FRAME
field_237713_b_
public static final ResourceLocation
c
DEFAULT_WORLD_SLOT_1
field_22683
PANORAMA_0
field_237714_c_
public static final ResourceLocation
d
DEFAULT_WORLD_SLOT_2
field_22684
PANORAMA_2
field_237715_d_
public static final ResourceLocation
e
DEFAULT_WORLD_SLOT_3
field_22685
PANORAMA_3
field_237716_e_
private static final Component
v
SLOT_ACTIVE_TOOLTIP
field_26468
field_26468
field_243091_v
private static final Component
w
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
field_26469
field_243092_w
private static final Component
x
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
field_26470
field_243093_x
private final Supplier<RealmsServer>
y
serverDataProvider
field_19672
serverDataProvider
field_223773_a
private final Consumer<Component>
z
toolTipSetter
field_19673
toolTipSetter
field_223774_b
private final int
A
slotIndex
field_19675
slotIndex
field_223776_d
private int
B
animTick
field_19676
animTick
field_223777_e
private RealmsWorldSlotButton$State
C
state
field_19677
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()
getState()
func_237717_a_()
public void
d()
tick()
method_25393()
tick()
func_231023_e_()
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)
func_237720_a_(RealmsServer arg0, boolean arg1, boolean arg2)
private com.mojang.datafixers.util.Pair<Component, Component>
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)
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)
func_230431_b_(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)
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)