public class WorldshaperScreen extends ZapperScreen
| Modifier and Type | Field and Description |
|---|---|
protected IconButton |
acrossMaterials |
protected Indicator |
acrossMaterialsIndicator |
protected ScrollInput |
brushInput |
protected Label |
brushLabel |
protected java.util.List<net.minecraft.util.text.ITextComponent> |
brushOptions |
protected java.util.Vector<Label> |
brushParamLabels |
protected java.util.Vector<ScrollInput> |
brushParams |
protected boolean |
currentAcrossMaterials |
protected TerrainBrushes |
currentBrush |
protected int[] |
currentBrushParams |
protected boolean |
currentFollowDiagonals |
protected PlacementOptions |
currentPlacement |
protected TerrainTools |
currentTool |
protected IconButton |
followDiagonals |
protected Indicator |
followDiagonalsIndicator |
protected java.util.Vector<IconButton> |
placementButtons |
protected net.minecraft.util.text.ITextComponent |
placementSection |
protected java.util.Vector<IconButton> |
toolButtons |
protected net.minecraft.util.text.ITextComponent |
toolSection |
animationProgress, background, brightColor, currentPattern, fontColor, hand, patternButtons, patternSection, title, zapperguiLeft, guiTop, widgets, windowHeight, windowWidth, windowXOffset, windowYOffset| Constructor and Description |
|---|
WorldshaperScreen(net.minecraft.item.ItemStack zapper,
net.minecraft.util.Hand hand) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawOnBackground(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y) |
protected ConfigureZapperPacket |
getConfigurationPacket() |
protected void |
init() |
protected void |
initBrushParams(int x,
int y) |
boolean |
mouseClicked(double x,
double y,
int button) |
removed, renderBlock, renderWindow, renderZapper, tickcharTyped, debugWindowArea, endFrame, getWidgets, isPauseScreen, keyPressed, mouseReleased, mouseScrolled, prepareFrame, render, renderWindowBackground, renderWindowForeground, setWindowOffset, setWindowSize, shouldCloseOnEscaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected final net.minecraft.util.text.ITextComponent placementSection
protected final net.minecraft.util.text.ITextComponent toolSection
protected final java.util.List<net.minecraft.util.text.ITextComponent> brushOptions
protected java.util.Vector<IconButton> toolButtons
protected java.util.Vector<IconButton> placementButtons
protected ScrollInput brushInput
protected Label brushLabel
protected java.util.Vector<ScrollInput> brushParams
protected java.util.Vector<Label> brushParamLabels
protected IconButton followDiagonals
protected IconButton acrossMaterials
protected Indicator followDiagonalsIndicator
protected Indicator acrossMaterialsIndicator
protected TerrainBrushes currentBrush
protected int[] currentBrushParams
protected boolean currentFollowDiagonals
protected boolean currentAcrossMaterials
protected TerrainTools currentTool
protected PlacementOptions currentPlacement
public WorldshaperScreen(net.minecraft.item.ItemStack zapper,
net.minecraft.util.Hand hand)
protected void init()
init in class ZapperScreenprotected void initBrushParams(int x,
int y)
public boolean mouseClicked(double x,
double y,
int button)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlermouseClicked in class ZapperScreenprotected void drawOnBackground(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y)
drawOnBackground in class ZapperScreenprotected ConfigureZapperPacket getConfigurationPacket()
getConfigurationPacket in class ZapperScreen