public class ZapperScreen extends AbstractSimiScreen
| Modifier and Type | Field and Description |
|---|---|
protected float |
animationProgress |
protected AllGuiTextures |
background |
protected int |
brightColor |
protected int |
fontColor |
protected boolean |
offhand |
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,
boolean offhand) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawOnBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
int x,
int y) |
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() |
protected void |
writeAdditionalOptions(net.minecraft.nbt.CompoundNBT nbt) |
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 net.minecraft.item.ItemStack zapper
protected boolean offhand
protected float animationProgress
protected AllGuiTextures background
protected final net.minecraft.util.text.ITextComponent patternSection
protected net.minecraft.util.text.ITextComponent title
protected java.util.Vector<IconButton> patternButtons
protected int brightColor
protected int fontColor
public ZapperScreen(AllGuiTextures background, net.minecraft.item.ItemStack zapper, boolean offhand)
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 void writeAdditionalOptions(net.minecraft.nbt.CompoundNBT nbt)