public abstract class RealmsScreen extends RealmsGuiEventListener implements RealmsConfirmResultListener
Modifier and Type | Field and Description |
---|---|
int |
height |
private Minecraft |
minecraft |
private RealmsScreenProxy |
proxy |
static int |
SKIN_HAT_HEIGHT |
static int |
SKIN_HAT_U |
static int |
SKIN_HAT_V |
static int |
SKIN_HAT_WIDTH |
static int |
SKIN_HEAD_HEIGHT |
static int |
SKIN_HEAD_U |
static int |
SKIN_HEAD_V |
static int |
SKIN_HEAD_WIDTH |
static int |
SKIN_TEX_HEIGHT |
static int |
SKIN_TEX_WIDTH |
int |
width |
Constructor and Description |
---|
RealmsScreen() |
Modifier and Type | Method and Description |
---|---|
void |
addWidget(RealmsGuiEventListener p_addWidget_1_) |
static void |
bind(java.lang.String p_bind_0_) |
static void |
blit(int p_blit_0_,
int p_blit_1_,
float p_blit_2_,
float p_blit_3_,
int p_blit_4_,
int p_blit_5_,
int p_blit_6_,
int p_blit_7_) |
static void |
blit(int p_blit_0_,
int p_blit_1_,
float p_blit_2_,
float p_blit_3_,
int p_blit_4_,
int p_blit_5_,
int p_blit_6_,
int p_blit_7_,
int p_blit_8_,
int p_blit_9_) |
void |
blit(int p_blit_1_,
int p_blit_2_,
int p_blit_3_,
int p_blit_4_,
int p_blit_5_,
int p_blit_6_) |
java.util.List<AbstractRealmsButton<?>> |
buttons() |
void |
buttonsAdd(AbstractRealmsButton<?> p_buttonsAdd_1_) |
protected void |
buttonsClear() |
void |
childrenClear() |
void |
confirmResult(boolean p_confirmResult_1_,
int p_confirmResult_2_) |
int |
draw(java.lang.String p_draw_1_,
int p_draw_2_,
int p_draw_3_,
int p_draw_4_,
boolean p_draw_5_) |
void |
drawCenteredString(java.lang.String p_drawCenteredString_1_,
int p_drawCenteredString_2_,
int p_drawCenteredString_3_,
int p_drawCenteredString_4_) |
void |
drawString(java.lang.String p_drawString_1_,
int p_drawString_2_,
int p_drawString_3_,
int p_drawString_4_) |
void |
drawString(java.lang.String p_drawString_1_,
int p_drawString_2_,
int p_drawString_3_,
int p_drawString_4_,
boolean p_drawString_5_) |
void |
fillGradient(int p_fillGradient_1_,
int p_fillGradient_2_,
int p_fillGradient_3_,
int p_fillGradient_4_,
int p_fillGradient_5_,
int p_fillGradient_6_) |
protected void |
focusOn(RealmsGuiEventListener p_focusOn_1_) |
void |
fontDrawShadow(java.lang.String p_fontDrawShadow_1_,
int p_fontDrawShadow_2_,
int p_fontDrawShadow_3_,
int p_fontDrawShadow_4_) |
int |
fontLineHeight() |
java.util.List<java.lang.String> |
fontSplit(java.lang.String p_fontSplit_1_,
int p_fontSplit_2_) |
int |
fontWidth(java.lang.String p_fontWidth_1_) |
RealmsAnvilLevelStorageSource |
getLevelStorageSource() |
static java.lang.String |
getLocalizedString(java.lang.String p_getLocalizedString_0_) |
static java.lang.String |
getLocalizedString(java.lang.String p_getLocalizedString_0_,
java.lang.Object... p_getLocalizedString_1_) |
java.util.List<java.lang.String> |
getLocalizedStringWithLineWidth(java.lang.String p_getLocalizedStringWithLineWidth_1_,
int p_getLocalizedStringWithLineWidth_2_) |
RealmsScreenProxy |
getProxy() |
boolean |
hasWidget(RealmsGuiEventListener p_hasWidget_1_) |
int |
height() |
void |
init() |
void |
init(Minecraft p_init_1_,
int p_init_2_,
int p_init_3_) |
boolean |
isFocused(RealmsGuiEventListener p_isFocused_1_) |
protected boolean |
isKeyDown(int p_isKeyDown_1_) |
boolean |
isPauseScreen() |
protected void |
narrateLabels() |
RealmsEditBox |
newEditBox(int p_newEditBox_1_,
int p_newEditBox_2_,
int p_newEditBox_3_,
int p_newEditBox_4_,
int p_newEditBox_5_) |
RealmsEditBox |
newEditBox(int p_newEditBox_1_,
int p_newEditBox_2_,
int p_newEditBox_3_,
int p_newEditBox_4_,
int p_newEditBox_5_,
java.lang.String p_newEditBox_6_) |
protected void |
removeButton(RealmsButton p_removeButton_1_) |
void |
removed() |
void |
removeWidget(RealmsGuiEventListener p_removeWidget_1_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
renderBackground() |
void |
renderBackground(int p_renderBackground_1_) |
void |
renderTooltip(ItemStack p_renderTooltip_1_,
int p_renderTooltip_2_,
int p_renderTooltip_3_) |
void |
renderTooltip(java.util.List<java.lang.String> p_renderTooltip_1_,
int p_renderTooltip_2_,
int p_renderTooltip_3_) |
void |
renderTooltip(java.lang.String p_renderTooltip_1_,
int p_renderTooltip_2_,
int p_renderTooltip_3_) |
protected void |
setKeyboardHandlerSendRepeatsToGui(boolean p_setKeyboardHandlerSendRepeatsToGui_1_) |
void |
tick() |
protected void |
tickButtons() |
int |
width() |
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled
public static final int SKIN_HEAD_U
public static final int SKIN_HEAD_V
public static final int SKIN_HEAD_WIDTH
public static final int SKIN_HEAD_HEIGHT
public static final int SKIN_HAT_U
public static final int SKIN_HAT_V
public static final int SKIN_HAT_WIDTH
public static final int SKIN_HAT_HEIGHT
public static final int SKIN_TEX_WIDTH
public static final int SKIN_TEX_HEIGHT
private Minecraft minecraft
public int width
public int height
private final RealmsScreenProxy proxy
public RealmsScreenProxy getProxy()
getProxy
in class RealmsGuiEventListener
public void init()
public void init(Minecraft p_init_1_, int p_init_2_, int p_init_3_)
public void drawCenteredString(java.lang.String p_drawCenteredString_1_, int p_drawCenteredString_2_, int p_drawCenteredString_3_, int p_drawCenteredString_4_)
public int draw(java.lang.String p_draw_1_, int p_draw_2_, int p_draw_3_, int p_draw_4_, boolean p_draw_5_)
public void drawString(java.lang.String p_drawString_1_, int p_drawString_2_, int p_drawString_3_, int p_drawString_4_)
public void drawString(java.lang.String p_drawString_1_, int p_drawString_2_, int p_drawString_3_, int p_drawString_4_, boolean p_drawString_5_)
public void blit(int p_blit_1_, int p_blit_2_, int p_blit_3_, int p_blit_4_, int p_blit_5_, int p_blit_6_)
public static void blit(int p_blit_0_, int p_blit_1_, float p_blit_2_, float p_blit_3_, int p_blit_4_, int p_blit_5_, int p_blit_6_, int p_blit_7_, int p_blit_8_, int p_blit_9_)
public static void blit(int p_blit_0_, int p_blit_1_, float p_blit_2_, float p_blit_3_, int p_blit_4_, int p_blit_5_, int p_blit_6_, int p_blit_7_)
public void fillGradient(int p_fillGradient_1_, int p_fillGradient_2_, int p_fillGradient_3_, int p_fillGradient_4_, int p_fillGradient_5_, int p_fillGradient_6_)
public void renderBackground()
public boolean isPauseScreen()
public void renderBackground(int p_renderBackground_1_)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
public void renderTooltip(ItemStack p_renderTooltip_1_, int p_renderTooltip_2_, int p_renderTooltip_3_)
public void renderTooltip(java.lang.String p_renderTooltip_1_, int p_renderTooltip_2_, int p_renderTooltip_3_)
public void renderTooltip(java.util.List<java.lang.String> p_renderTooltip_1_, int p_renderTooltip_2_, int p_renderTooltip_3_)
public static void bind(java.lang.String p_bind_0_)
public void tick()
protected void tickButtons()
public int width()
public int height()
public int fontLineHeight()
public int fontWidth(java.lang.String p_fontWidth_1_)
public void fontDrawShadow(java.lang.String p_fontDrawShadow_1_, int p_fontDrawShadow_2_, int p_fontDrawShadow_3_, int p_fontDrawShadow_4_)
public java.util.List<java.lang.String> fontSplit(java.lang.String p_fontSplit_1_, int p_fontSplit_2_)
public void childrenClear()
public void addWidget(RealmsGuiEventListener p_addWidget_1_)
public void removeWidget(RealmsGuiEventListener p_removeWidget_1_)
public boolean hasWidget(RealmsGuiEventListener p_hasWidget_1_)
public void buttonsAdd(AbstractRealmsButton<?> p_buttonsAdd_1_)
public java.util.List<AbstractRealmsButton<?>> buttons()
protected void buttonsClear()
protected void focusOn(RealmsGuiEventListener p_focusOn_1_)
public RealmsEditBox newEditBox(int p_newEditBox_1_, int p_newEditBox_2_, int p_newEditBox_3_, int p_newEditBox_4_, int p_newEditBox_5_)
public RealmsEditBox newEditBox(int p_newEditBox_1_, int p_newEditBox_2_, int p_newEditBox_3_, int p_newEditBox_4_, int p_newEditBox_5_, java.lang.String p_newEditBox_6_)
public void confirmResult(boolean p_confirmResult_1_, int p_confirmResult_2_)
confirmResult
in interface RealmsConfirmResultListener
public static java.lang.String getLocalizedString(java.lang.String p_getLocalizedString_0_)
public static java.lang.String getLocalizedString(java.lang.String p_getLocalizedString_0_, java.lang.Object... p_getLocalizedString_1_)
public java.util.List<java.lang.String> getLocalizedStringWithLineWidth(java.lang.String p_getLocalizedStringWithLineWidth_1_, int p_getLocalizedStringWithLineWidth_2_)
public RealmsAnvilLevelStorageSource getLevelStorageSource()
public void removed()
protected void removeButton(RealmsButton p_removeButton_1_)
protected void setKeyboardHandlerSendRepeatsToGui(boolean p_setKeyboardHandlerSendRepeatsToGui_1_)
protected boolean isKeyDown(int p_isKeyDown_1_)
protected void narrateLabels()
public boolean isFocused(RealmsGuiEventListener p_isFocused_1_)