com.mojang.realmsclient.gui

public class RealmsWorldSlotButton

extends RealmsButton

cwa
com.mojang.realmsclient.gui.RealmsWorldSlotButton
net.minecraft.class_4367
com.mojang.realmsclient.gui.RealmsWorldSlotButton
com.mojang.realmsclient.gui.RealmsServerSlotButton

Field summary

Modifier and TypeField
private final Supplier<RealmsServer>
a
serverDataProvider
field_19672
serverDataProvider
field_223773_a
private final Consumer<String>
b
toolTipSetter
field_19673
toolTipSetter
field_223774_b
private final RealmsWorldSlotButton$Listener
c
listener
field_19674
listener
field_223775_c
private final int
d
slotIndex
field_19675
slotIndex
field_223776_d
private int
e
animTick
field_19676
animTick
field_223777_e
private RealmsWorldSlotButton$State
f
state
field_19677
state
field_223778_f

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Supplier<RealmsServer> serverDataProvider, Consumer<String> toolTipSetter, int id, int slotIndex, RealmsWorldSlotButton$Listener listener)

Method summary

Modifier and TypeMethod
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
public void
tick()
tick()
tick()
tick()
public void
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
private void
a(int arg0, int arg1, int arg2, int arg3, boolean arg4, String arg5, int arg6, long arg7, String arg8, boolean arg9, boolean arg10, cwa$a arg11, String arg12)
drawSlotFrame(int arg0, int arg1, int arg2, int arg3, boolean arg4, String arg5, int arg6, long arg7, String arg8, boolean arg9, boolean arg10, RealmsWorldSlotButton$Action arg11, String arg12)
method_21107(int arg0, int arg1, int arg2, int arg3, boolean arg4, String arg5, int arg6, long arg7, String arg8, boolean arg9, boolean arg10, class_4367$class_4368 arg11, String arg12)
drawSlotFrame(int x, int y, int xm, int ym, boolean currentlyActiveSlot, String text, int i, long imageId, String image, boolean empty, boolean minigame, RealmsWorldSlotButton$Action action, String actionPrompt)
func_223772_a(int arg0, int arg1, int arg2, int arg3, boolean arg4, String arg5, int arg6, long arg7, String arg8, boolean arg9, boolean arg10, RealmsServerSlotButton$Action arg11, String arg12)
public void
onPress()
onPress()
onPress()
onPress()