public class RealmsServerSlotButton extends RealmsButton
Modifier and Type | Class and Description |
---|---|
static class |
RealmsServerSlotButton.Action |
static interface |
RealmsServerSlotButton.IHandler |
static class |
RealmsServerSlotButton.ServerData |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<RealmsServer> |
field_223773_a |
private java.util.function.Consumer<java.lang.String> |
field_223774_b |
private RealmsServerSlotButton.IHandler |
field_223775_c |
private int |
field_223776_d |
private int |
field_223777_e |
private RealmsServerSlotButton.ServerData |
field_223778_f |
WIDGETS_LOCATION
Constructor and Description |
---|
RealmsServerSlotButton(int p_i51780_1_,
int p_i51780_2_,
int p_i51780_3_,
int p_i51780_4_,
java.util.function.Supplier<RealmsServer> p_i51780_5_,
java.util.function.Consumer<java.lang.String> p_i51780_6_,
int p_i51780_7_,
int p_i51780_8_,
RealmsServerSlotButton.IHandler p_i51780_9_) |
Modifier and Type | Method and Description |
---|---|
private void |
func_223772_a(int p_223772_1_,
int p_223772_2_,
int p_223772_3_,
int p_223772_4_,
boolean p_223772_5_,
java.lang.String p_223772_6_,
int p_223772_7_,
long p_223772_8_,
java.lang.String p_223772_10_,
boolean p_223772_11_,
boolean p_223772_12_,
RealmsServerSlotButton.Action p_223772_13_,
java.lang.String p_223772_14_) |
void |
onPress() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
renderButton(int p_renderButton_1_,
int p_renderButton_2_,
float p_renderButton_3_) |
void |
tick() |
drawCenteredString, func_214457_x, func_223291_y_, getHeight, getProxy, getWidth, getYImage, id, onRelease, renderBg, setMessage
active, active, blit, isVisible, setVisible
private final java.util.function.Supplier<RealmsServer> field_223773_a
private final java.util.function.Consumer<java.lang.String> field_223774_b
private final RealmsServerSlotButton.IHandler field_223775_c
private final int field_223776_d
private int field_223777_e
@Nullable private RealmsServerSlotButton.ServerData field_223778_f
public RealmsServerSlotButton(int p_i51780_1_, int p_i51780_2_, int p_i51780_3_, int p_i51780_4_, java.util.function.Supplier<RealmsServer> p_i51780_5_, java.util.function.Consumer<java.lang.String> p_i51780_6_, int p_i51780_7_, int p_i51780_8_, RealmsServerSlotButton.IHandler p_i51780_9_)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in class AbstractRealmsButton<RealmsButtonProxy>
public void tick()
tick
in class AbstractRealmsButton<RealmsButtonProxy>
public void renderButton(int p_renderButton_1_, int p_renderButton_2_, float p_renderButton_3_)
renderButton
in class RealmsButton
private void func_223772_a(int p_223772_1_, int p_223772_2_, int p_223772_3_, int p_223772_4_, boolean p_223772_5_, java.lang.String p_223772_6_, int p_223772_7_, long p_223772_8_, @Nullable java.lang.String p_223772_10_, boolean p_223772_11_, boolean p_223772_12_, RealmsServerSlotButton.Action p_223772_13_, @Nullable java.lang.String p_223772_14_)
public void onPress()
onPress
in class RealmsButton