public abstract class ZapperScreen extends AbstractSimiScreen
| Modifier and Type | Field and Description |
|---|---|
protected float |
animationProgress |
protected AllGuiTextures |
background |
protected int |
brightColor |
protected PlacementPatterns |
currentPattern |
protected int |
fontColor |
protected net.minecraft.util.Hand |
hand |
protected java.util.Vector<IconButton> |
patternButtons |
protected net.minecraft.util.text.ITextComponent |
patternSection |
protected net.minecraft.util.text.ITextComponent |
title |
protected net.minecraft.item.ItemStack |
zapper |
guiLeft, guiTop, widgets, windowHeight, windowWidth, windowXOffset, windowYOffset| Constructor and Description |
|---|
ZapperScreen(AllGuiTextures background,
net.minecraft.item.ItemStack zapper,
net.minecraft.util.Hand hand) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawOnBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
int x,
int y) |
protected abstract ConfigureZapperPacket |
getConfigurationPacket() |
protected void |
init() |
boolean |
mouseClicked(double x,
double y,
int button) |
void |
removed() |
protected void |
renderBlock(com.mojang.blaze3d.matrix.MatrixStack ms,
int x,
int y) |
protected void |
renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
renderZapper(com.mojang.blaze3d.matrix.MatrixStack ms,
int x,
int y) |
void |
tick() |
charTyped, 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 patternSection
protected AllGuiTextures background
protected net.minecraft.item.ItemStack zapper
protected net.minecraft.util.Hand hand
protected float animationProgress
protected net.minecraft.util.text.ITextComponent title
protected java.util.Vector<IconButton> patternButtons
protected int brightColor
protected int fontColor
protected PlacementPatterns currentPattern
public ZapperScreen(AllGuiTextures background, net.minecraft.item.ItemStack zapper, net.minecraft.util.Hand hand)
protected void init()
init in class AbstractSimiScreenprotected void renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
renderWindow in class AbstractSimiScreenprotected void drawOnBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
int x,
int y)
public void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class AbstractSimiScreenpublic void removed()
removed in class net.minecraft.client.gui.screen.Screenpublic 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 AbstractSimiScreenprotected void renderZapper(com.mojang.blaze3d.matrix.MatrixStack ms,
int x,
int y)
protected void renderBlock(com.mojang.blaze3d.matrix.MatrixStack ms,
int x,
int y)
protected abstract ConfigureZapperPacket getConfigurationPacket()