com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

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

Field summary

Modifier and TypeField
private static final ResourceLocation
t
SLOT_FRAME_SPRITE
field_22681
SLOT_FRAME
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
u
SWITCH_TO_MINIGAME_SLOT_TOOLTIP
field_26469
MINIGAME_TOOLTIP
private static final Component
v
SWITCH_TO_WORLD_SLOT_TOOLTIP
field_26470
TOOLTIP
static final Component
w
MINIGAME
field_44894
MINIGAME_SLOT_NAME
private static final int
x
WORLD_NAME_MAX_WIDTH
field_54472
MAX_DISPLAYED_SLOT_NAME_LENGTH
private static final String
y
DOTS
field_54473
ELLIPSIS
private final int
z
slotIndex
field_19675
slotIndex
private RealmsWorldSlotButton$State
A
state
field_19677
state

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, int slotIndex, RealmsServer server, Button$OnPress onPress)

Method summary

Modifier and TypeMethod
public RealmsWorldSlotButton$State
a()
getState()
method_25099()
getState()
public RealmsWorldSlotButton$State
a(frd arg0)
setServerData(RealmsServer arg0)
method_54571(class_4877 arg0)
setServer(RealmsServer server)
private void
a(fsj$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(boolean arg0, boolean arg1, boolean arg2)
getAction(boolean arg0, boolean arg1, boolean arg2)
method_27455(boolean arg0, boolean arg1, boolean arg2)
getAction(boolean arg0, boolean active, boolean arg2)
public boolean
b()
isActive()
method_37303()
isNarratable()
public void
b(fyj 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)