Class WindowReplaceBlock
java.lang.Object
com.ldtteam.blockui.UiRenderMacros
com.ldtteam.blockui.Pane
com.ldtteam.blockui.views.View
com.ldtteam.blockui.views.BOWindow
com.ldtteam.structurize.client.gui.AbstractWindowSkeleton
com.ldtteam.structurize.client.gui.WindowReplaceBlock
- All Implemented Interfaces:
com.ldtteam.blockui.controls.ButtonHandler,Consumer<com.ldtteam.blockui.controls.Button>
Window for the replace block GUI.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ldtteam.blockui.views.BOWindow
com.ldtteam.blockui.views.BOWindow.WindowRenderTypeNested classes/interfaces inherited from class com.ldtteam.blockui.UiRenderMacros
com.ldtteam.blockui.UiRenderMacros.ResolvedBlit -
Field Summary
Fields inherited from class com.ldtteam.blockui.views.BOWindow
DEFAULT_HEIGHT, DEFAULT_WIDTH, lightbox, screen, windowPausesGame, windowRenderType, xmlResourceLocationFields inherited from class com.ldtteam.blockui.views.View
children, paddingFields inherited from class com.ldtteam.blockui.Pane
alignment, cursor, debugging, enabled, focus, height, hoverSource, id, lastClickedPane, mc, onHover, onHoverId, parent, visible, wasCursorInPane, width, window, x, yFields inherited from class com.ldtteam.blockui.UiRenderMacros
HALF_BIAS -
Constructor Summary
ConstructorsConstructorDescriptionWindowReplaceBlock(net.minecraft.world.item.ItemStack initialStack, net.minecraft.core.BlockPos pos, boolean main, com.ldtteam.blockui.views.BOWindow origin) Create the replacement GUI.WindowReplaceBlock(net.minecraft.world.item.ItemStack initialStack, net.minecraft.core.BlockPos pos1, net.minecraft.core.BlockPos pos2, com.ldtteam.blockui.views.BOWindow origin) Create the replacement GUI. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoneClicked(com.ldtteam.blockui.controls.Button button) voidonOpened()voidonUpdate()voidMethods inherited from class com.ldtteam.structurize.client.gui.AbstractWindowSkeleton
doNothing, onButtonClicked, registerButton, registerButtonMethods inherited from class com.ldtteam.blockui.views.BOWindow
close, doesWindowPauseGame, drawSelf, getRenderType, getScreen, getXmlResourceLocation, hasLightbox, loadParams, onClosed, onKeyTyped, onMouseReleased, onUnhandledKeyTyped, open, openAsLayerMethods inherited from class com.ldtteam.blockui.views.View
accumulatePosition, addChild, addChild, adjustChild, childIsVisible, click, drawHidden, drawSelfLast, findPaneByID, findPaneByType, findPaneForClick, getAccumulatedPosition, getChildren, getInteriorHeight, getInteriorWidth, mouseClickableEventHandler, mouseEventProcessor, mousePointableEventHandler, onMouseDrag, parseChildren, postAddChild, removeChild, rightClick, scrollInput, setSize, setWindowMethods inherited from class com.ldtteam.blockui.Pane
canHandleClick, clearFocus, disable, draw, drawLast, enable, findFirstPaneByType, findPaneOfTypeByID, getAlignment, getCursor, getFocus, getHeight, getHoverPane, getID, getParent, getWidth, getWindow, getX, getY, handleClick, handleHover, handleRightClick, hide, isClickable, isEnabled, isFocus, isPointInPane, isVisible, moveBy, off, on, onFocus, onFocusLost, putInside, scissorsEnd, scissorsStart, setAlignment, setCursor, setEnabled, setFocus, setFocus, setHoverPane, setID, setParentView, setPosition, setVisible, shouldDraw, show, wasCursorInPaneMethods inherited from class com.ldtteam.blockui.UiRenderMacros
blit, blit, blit, blit, blitRepeatable, blitRepeatable, blitSprite, blitSprite, drawEntity, drawLineRect, drawLineRect, drawLineRect, drawLineRectGradient, drawLineRectGradient, drawLineRectGradient, fill, fill, fillGradient, fillGradient, hLine, hLine, line, line, populateBlitTriangles, populateFillGradientTriangles, populateFillTriangles, resolveSprite, vLine, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ldtteam.blockui.controls.ButtonHandler
accept
-
Constructor Details
-
WindowReplaceBlock
public WindowReplaceBlock(net.minecraft.world.item.ItemStack initialStack, net.minecraft.core.BlockPos pos1, net.minecraft.core.BlockPos pos2, com.ldtteam.blockui.views.BOWindow origin) Create the replacement GUI.- Parameters:
initialStack- the initial stack.pos1- the start pos.pos2- the end pos.origin- the origin view.
-
WindowReplaceBlock
public WindowReplaceBlock(net.minecraft.world.item.ItemStack initialStack, net.minecraft.core.BlockPos pos, boolean main, com.ldtteam.blockui.views.BOWindow origin) Create the replacement GUI.- Parameters:
initialStack- the initial stack.pos- the central pos.main- main block or fill block.origin- the origin view.
-
-
Method Details
-
onOpened
public void onOpened()- Overrides:
onOpenedin classcom.ldtteam.blockui.views.BOWindow
-
onUpdate
public void onUpdate()- Overrides:
onUpdatein classcom.ldtteam.blockui.views.View
-
doneClicked
public void doneClicked(com.ldtteam.blockui.controls.Button button) -
updateResourceList
public void updateResourceList()
-