public abstract class DisplayEffectsScreen<T extends Container> extends ContainerScreen<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasActivePotionEffects |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySizebuttons, children, font, height, itemRenderer, minecraft, passEvents, title, widthBACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
DisplayEffectsScreen(T screenContainer,
PlayerInventory inv,
ITextComponent titleIn) |
| Modifier and Type | Method and Description |
|---|---|
private void |
drawActivePotionEffects() |
private void |
drawActivePotionEffectsBackgrounds(int x,
int height,
java.lang.Iterable<EffectInstance> effectsIn) |
private void |
drawActivePotionEffectsIcons(int x,
int height,
java.lang.Iterable<EffectInstance> effectsIn) |
private void |
drawActivePotionEffectsNames(int x,
int height,
java.lang.Iterable<EffectInstance> effectsIn) |
protected void |
init() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
protected void |
updateActivePotionEffects() |
drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPauseScreen, isPointInRegion, keyPressed, mouseClicked, mouseDragged, mouseReleased, removed, renderHoveredToolTip, shouldCloseOnEsc, tickaddButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseScrolled, setFocusedDefaultmouseMovedpublic DisplayEffectsScreen(T screenContainer, PlayerInventory inv, ITextComponent titleIn)
protected void init()
init in class ContainerScreen<T extends Container>protected void updateActivePotionEffects()
public void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render in interface IRenderablerender in class ContainerScreen<T extends Container>private void drawActivePotionEffects()
private void drawActivePotionEffectsBackgrounds(int x,
int height,
java.lang.Iterable<EffectInstance> effectsIn)
private void drawActivePotionEffectsIcons(int x,
int height,
java.lang.Iterable<EffectInstance> effectsIn)
private void drawActivePotionEffectsNames(int x,
int height,
java.lang.Iterable<EffectInstance> effectsIn)