public abstract class BattleScreen extends BattleBaseScreen
| Modifier and Type | Class and Description |
|---|---|
static class |
BattleScreen.ActionButton |
static class |
BattleScreen.EnumBattleButton |
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
BACKGROUND |
static net.minecraft.util.ResourceLocation |
DETAILS |
static net.minecraft.util.ResourceLocation |
MENU_BAG |
static net.minecraft.util.ResourceLocation |
MENU_BAG_DISABLED |
static net.minecraft.util.ResourceLocation |
MENU_BAG_ICON |
static net.minecraft.util.ResourceLocation |
MENU_POKE |
static net.minecraft.util.ResourceLocation |
MENU_POKE_DISABLED |
static net.minecraft.util.ResourceLocation |
MENU_POKE_ICON |
static net.minecraft.util.ResourceLocation |
MENU_RUN |
static net.minecraft.util.ResourceLocation |
MENU_RUN_DISABLED |
static net.minecraft.util.ResourceLocation |
MENU_RUN_ICON |
bm, mode, parent| Constructor and Description |
|---|
BattleScreen(BattleScreen parent,
BattleMode mode)
Initializes the battle screen.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawButtons(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
boolean |
handleButtonClick(double mouseX,
double mouseY) |
void |
init() |
void |
renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix,
int width,
int height,
int mouseX,
int mouseY,
int vOffset) |
click, getMode, isScreen, renderaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, removed, render, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final net.minecraft.util.ResourceLocation BACKGROUND
public static final net.minecraft.util.ResourceLocation DETAILS
public static final net.minecraft.util.ResourceLocation MENU_BAG
public static final net.minecraft.util.ResourceLocation MENU_BAG_DISABLED
public static final net.minecraft.util.ResourceLocation MENU_BAG_ICON
public static final net.minecraft.util.ResourceLocation MENU_POKE
public static final net.minecraft.util.ResourceLocation MENU_POKE_DISABLED
public static final net.minecraft.util.ResourceLocation MENU_POKE_ICON
public static final net.minecraft.util.ResourceLocation MENU_RUN
public static final net.minecraft.util.ResourceLocation MENU_RUN_DISABLED
public static final net.minecraft.util.ResourceLocation MENU_RUN_ICON
public BattleScreen(BattleScreen parent, BattleMode mode)
parent - The battle GUI that the screen is a part of.mode - The mode represented by the screen.public void init()
init in class net.minecraft.client.gui.screen.Screenpublic void renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix,
int width,
int height,
int mouseX,
int mouseY,
int vOffset)
renderBackground in class BattleBaseScreenpublic void drawButtons(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
public boolean handleButtonClick(double mouseX,
double mouseY)