public class BeaconScreen extends ContainerScreen<BeaconContainer>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BeaconScreen.Button |
(package private) class |
BeaconScreen.CancelButton |
(package private) class |
BeaconScreen.ConfirmButton |
(package private) class |
BeaconScreen.PowerButton |
(package private) static class |
BeaconScreen.SpriteButton |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
BEACON_GUI_TEXTURES |
private BeaconScreen.ConfirmButton |
beaconConfirmButton |
private boolean |
buttonsNotDrawn |
private Effect |
field_214105_n |
private Effect |
field_214106_o |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySize
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
BeaconScreen(BeaconContainer p_i51102_1_,
PlayerInventory p_i51102_2_,
ITextComponent p_i51102_3_) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
protected void |
init() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
tick() |
func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPauseScreen, isPointInRegion, keyPressed, mouseClicked, mouseDragged, mouseReleased, removed, renderHoveredToolTip, shouldCloseOnEsc
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseScrolled, setFocusedDefault
mouseMoved
private static final ResourceLocation BEACON_GUI_TEXTURES
private BeaconScreen.ConfirmButton beaconConfirmButton
private boolean buttonsNotDrawn
private Effect field_214105_n
private Effect field_214106_o
public BeaconScreen(BeaconContainer p_i51102_1_, PlayerInventory p_i51102_2_, ITextComponent p_i51102_3_)
protected void init()
init
in class ContainerScreen<BeaconContainer>
public void tick()
tick
in class ContainerScreen<BeaconContainer>
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class ContainerScreen<BeaconContainer>
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class ContainerScreen<BeaconContainer>
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class ContainerScreen<BeaconContainer>