com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fjk
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
net.minecraft.client.realms.gui.RealmsWorldSlotButton

Field summary

Modifier and TypeField
private static final ResourceLocation
u
SLOT_FRAME_SPRITE
field_22681
SLOT_FRAME
private static final ResourceLocation
v
CHECKMARK_SPRITE
field_39067
CHECKMARK
public static final ResourceLocation
a
EMPTY_SLOT_LOCATION
field_22682
EMPTY_FRAME
public static final ResourceLocation
b
DEFAULT_WORLD_SLOT_1
field_22683
PANORAMA_0
public static final ResourceLocation
c
DEFAULT_WORLD_SLOT_2
field_22684
PANORAMA_2
public static final ResourceLocation
d
DEFAULT_WORLD_SLOT_3
field_22685
PANORAMA_3
private static final Component
w
SLOT_ACTIVE_TOOLTIP
field_26468
ACTIVE_TOOLTIP
private static final Component
x
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
MINIGAME_TOOLTIP
private static final Component
y
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
TOOLTIP
static final Component
z
MINIGAME
field_44894
MINIGAME_SLOT_NAME
private static final int
A
WORLD_NAME_MAX_WIDTH
field_54472
MAX_DISPLAYED_SLOT_NAME_LENGTH
private static final String
B
DOTS
field_54473
ELLIPSIS
private final int
C
slotIndex
field_19675
slotIndex
private RealmsWorldSlotButton$State
D
state
field_19677
state

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, int slotIndex, Button$OnPress pressAction)

Method summary

Modifier and TypeMethod
public RealmsWorldSlotButton$State
a()
getState()
method_25099()
getState()
public void
a(fij arg0)
setServerData(RealmsServer arg0)
method_54571(class_4877 arg0)
setServer(RealmsServer server)
private void
a(fjk$b arg0, String arg1)
setTooltipAndNarration(RealmsWorldSlotButton$State arg0, String arg1)
method_54572(class_4367$class_4370 arg0, String arg1)
updateTooltip(RealmsWorldSlotButton$State state, String minigameName)
static RealmsWorldSlotButton$Action
a(fij arg0, boolean arg1, boolean arg2)
getAction(RealmsServer arg0, boolean arg1, boolean arg2)
method_27455(class_4877 arg0, boolean arg1, boolean arg2)
getAction(RealmsServer server, boolean active, boolean minigame)
public void
b(fns arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)