Class WorldshaperScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.createmod.catnip.gui.AbstractSimiScreen
com.simibubi.create.content.equipment.zapper.ZapperScreen
com.simibubi.create.content.equipment.zapper.terrainzapper.WorldshaperScreen
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IconButtonprotected Indicatorprotected ScrollInputprotected Labelprotected final List<net.minecraft.network.chat.Component> protected List<ScrollInput> protected booleanprotected TerrainBrushesprotected int[]protected booleanprotected PlacementOptionsprotected TerrainToolsprotected IconButtonprotected Indicatorprotected List<IconButton> protected final net.minecraft.network.chat.Componentprotected List<IconButton> protected final net.minecraft.network.chat.ComponentFields inherited from class com.simibubi.create.content.equipment.zapper.ZapperScreen
animationProgress, background, brightColor, currentPattern, fontColor, hand, patternButtons, patternSection, title, zapperFields inherited from class net.createmod.catnip.gui.AbstractSimiScreen
BACKGROUND_COLOR, guiLeft, guiTop, windowHeight, windowWidth, windowXOffset, windowYOffsetFields inherited from class net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionWorldshaperScreen(net.minecraft.world.item.ItemStack zapper, net.minecraft.world.InteractionHand hand) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawOnBackground(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) protected ConfigureZapperPacketprotected voidinit()protected voidinitBrushParams(int x, int y) Methods inherited from class com.simibubi.create.content.equipment.zapper.ZapperScreen
removed, renderBlock, renderWindow, renderZapper, tickMethods inherited from class net.createmod.catnip.gui.AbstractSimiScreen
addRenderableWidgets, addRenderableWidgets, debugWindowArea, endFrame, getFocused, getRenderables, isPauseScreen, keyPressed, prepareFrame, removeWidgets, removeWidgets, render, renderWindowBackground, renderWindowForeground, setWindowOffset, setWindowSizeMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
placementSection
protected final net.minecraft.network.chat.Component placementSection -
toolSection
protected final net.minecraft.network.chat.Component toolSection -
brushOptions
-
toolButtons
-
placementButtons
-
brushInput
-
brushLabel
-
brushParams
-
brushParamLabels
-
followDiagonals
-
acrossMaterials
-
followDiagonalsIndicator
-
acrossMaterialsIndicator
-
currentBrush
-
currentBrushParams
protected int[] currentBrushParams -
currentFollowDiagonals
protected boolean currentFollowDiagonals -
currentAcrossMaterials
protected boolean currentAcrossMaterials -
currentTool
-
currentPlacement
-
-
Constructor Details
-
WorldshaperScreen
public WorldshaperScreen(net.minecraft.world.item.ItemStack zapper, net.minecraft.world.InteractionHand hand)
-
-
Method Details
-
init
protected void init()- Overrides:
initin classZapperScreen
-
initBrushParams
protected void initBrushParams(int x, int y) -
drawOnBackground
protected void drawOnBackground(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) - Overrides:
drawOnBackgroundin classZapperScreen
-
getConfigurationPacket
- Specified by:
getConfigurationPacketin classZapperScreen
-