Package com.minecolonies.core.client.gui
Class WindowSupplies
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.AbstractBlueprintManipulationWindow
com.minecolonies.core.client.gui.WindowSupplies
- All Implemented Interfaces:
com.ldtteam.blockui.controls.ButtonHandler,Consumer<com.ldtteam.blockui.controls.Button>
public class WindowSupplies
extends com.ldtteam.structurize.client.gui.AbstractBlueprintManipulationWindow
Adjust the supply tool window.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ldtteam.blockui.views.BOWindow
com.ldtteam.blockui.views.BOWindow.WindowRenderType -
Field Summary
Fields inherited from class com.ldtteam.structurize.client.gui.AbstractBlueprintManipulationWindow
groundstyle, settingsListFields 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
ConstructorsConstructorDescriptionWindowSupplies(@Nullable net.minecraft.core.BlockPos pos, String type) Create a new supply tool window. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidhandlePlacement(com.ldtteam.structurize.network.messages.BuildToolPlacementMessage.HandlerType handlerType, String handlerId) Methods inherited from class com.ldtteam.structurize.client.gui.AbstractBlueprintManipulationWindow
adjustToGroundOffset, hideOtherGuiForPlacement, hidePlacementGui, initSettings, onOpened, onUnhandledKeyTyped, onUpdate, settingsClicked, updatePlacementOptions, updateRotationStateMethods 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, 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, drawEntity, drawLineRect, drawLineRect, drawLineRect, drawLineRectGradient, drawLineRectGradient, drawLineRectGradient, fill, fill, fillGradient, fillGradient, hLine, hLine, line, line, populateBlitTriangles, populateFillGradientTriangles, populateFillTriangles, 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
-
WindowSupplies
Create a new supply tool window.- Parameters:
pos- the pos its initiated at.
-
-
Method Details
-
cancelClicked
protected void cancelClicked()- Specified by:
cancelClickedin classcom.ldtteam.structurize.client.gui.AbstractBlueprintManipulationWindow
-
confirmClicked
protected void confirmClicked()- Overrides:
confirmClickedin classcom.ldtteam.structurize.client.gui.AbstractBlueprintManipulationWindow
-
handlePlacement
protected void handlePlacement(com.ldtteam.structurize.network.messages.BuildToolPlacementMessage.HandlerType handlerType, String handlerId) - Specified by:
handlePlacementin classcom.ldtteam.structurize.client.gui.AbstractBlueprintManipulationWindow
-