Class WorldshaperScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
com.simibubi.create.foundation.gui.AbstractSimiScreen
com.simibubi.create.content.curiosities.zapper.ZapperScreen
com.simibubi.create.content.curiosities.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.Widget
-
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 Vector<ScrollInput>protected booleanprotected TerrainBrushesprotected int[]protected booleanprotected PlacementOptionsprotected TerrainToolsprotected IconButtonprotected Indicatorprotected Vector<IconButton>protected final net.minecraft.network.chat.Componentprotected Vector<IconButton>protected final net.minecraft.network.chat.ComponentFields inherited from class com.simibubi.create.content.curiosities.zapper.ZapperScreen
animationProgress, background, brightColor, currentPattern, fontColor, hand, patternButtons, patternSection, title, zapperFields inherited from class com.simibubi.create.foundation.gui.AbstractSimiScreen
guiLeft, guiTop, windowHeight, windowWidth, windowXOffset, windowYOffsetFields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields 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(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y) protected ConfigureZapperPacketprotected voidinit()protected voidinitBrushParams(int x, int y) Methods inherited from class com.simibubi.create.content.curiosities.zapper.ZapperScreen
removed, renderBlock, renderWindow, renderZapper, tickMethods inherited from class com.simibubi.create.foundation.gui.AbstractSimiScreen
addRenderableWidgets, addRenderableWidgets, debugWindowArea, endFrame, getFocused, isPauseScreen, keyPressed, prepareFrame, removeWidgets, removeWidgets, render, renderWindowBackground, renderWindowForeground, setWindowOffset, setWindowSizeMethods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods 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
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
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(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y) - Overrides:
drawOnBackgroundin classZapperScreen
-
getConfigurationPacket
- Specified by:
getConfigurationPacketin classZapperScreen
-