com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends Button implements TickableWidget

All mapped superinterfaces:

Widget, GuiEventListener, TickableWidget

djl
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
com.mojang.realmsclient.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 final Supplier<RealmsServer>
v
serverDataProvider
field_19672
serverDataProvider
field_223773_a
private final Consumer<Component>
w
toolTipSetter
field_19673
toolTipSetter
field_223774_b
private final int
x
slotIndex
field_19675
slotIndex
field_223776_d
private int
y
animTick
field_19676
animTick
field_223777_e
private RealmsWorldSlotButton$State
z
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(dip 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(dip arg0, String arg1, boolean arg2, boolean arg3, djl$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(dhl 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(dhl arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10, boolean arg11, djl$a arg12, mr 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)