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 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, fontColor, offhand, patternButtons, patternSection, title, zapperguiLeft, guiTop, widgets, windowHeight, windowWidth, windowXOffset, windowYOffset| Constructor and Description |
|---|
WorldshaperScreen(net.minecraft.item.ItemStack zapper,
boolean offhand) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawOnBackground(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y) |
protected void |
init() |
void |
initBrushParams(int x,
int y) |
boolean |
mouseClicked(double x,
double y,
int button) |
protected void |
writeAdditionalOptions(net.minecraft.nbt.CompoundNBT nbt) |
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
public WorldshaperScreen(net.minecraft.item.ItemStack zapper,
boolean offhand)
protected void init()
init in class ZapperScreenpublic 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 void writeAdditionalOptions(net.minecraft.nbt.CompoundNBT nbt)
writeAdditionalOptions in class ZapperScreen