EasyGui

a simple library mod that hopes to make developing GUI a bit easier
Back to Files

easy_gui-2.1.jar

File nameeasy_gui-2.1.jar
Uploader
LucidLucentLucidLucent
Uploaded
Nov 14, 2026
Downloads
76
Size
71.6 KB
Mod Loaders
NeoForge
File ID
9612406
Type
R
Release
Supported game versions
  • 26.1.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:easygui-1288202:9612406"

Learn more about Curse Maven

What's new

Changelog

2.1 — Minecraft 26.1.2

Changes since 2.0.1, the latest release on CurseForge (easy_gui-2.0.1.jar, Minecraft 1.21.1, NeoForge).

Heads-up: this release moves EasyGui from Minecraft 1.21.1 to 26.1.2. It only runs on 26.1.2 and is not backwards compatible with 1.21.1. Most of the public API was changed to match the new vanilla rendering and input APIs, so mods built against 2.0.x will need code changes.

Platform / build

  • Minecraft 1.21.1 → 26.1.2 (version range is now exactly [26.1.2]).
  • NeoForge 21.1.215 → 26.1.2.59-beta. The mod now requires NeoForge 26.1.2.59-beta or newer.
  • Java toolchain 21 → 25.
  • ModDevGradle 1.0.21 → 2.0.141. Parchment mappings removed. The data run now uses clientData().
  • Access transformers updated for the new AbstractContainerScreen methods (extractSlotHighlightBack, extractSlotHighlightFront, extractFloatingItem). The old EditBox / GuiGraphics scissor-stack ATs were removed.

Added

  • Option to show or hide container labels. UIFrame#setShouldRenderLabels(boolean) and UIFrame#shouldRenderLabels() control whether EasyContainerScreen draws the vanilla title and inventory labels.
  • A hook for overriding label rendering. Override UIFrame#renderLabels(GuiGraphicsExtractor, int, int) and return false to cancel the default label rendering, or true to keep it.
  • ITextureData#getResource(), which returns the texture's Identifier.
  • ITextureData#renderWithOffset(...) and renderWithOffestAt(...) for drawing a texture with a UV offset (implemented in TextureData and TextureDataSubsection).
  • EasyMouseEvent#wasDoubleClicked(), getMouseEvent(), getScrollX() and getScrollY().
  • EasyKeyEvent#getKeyEvent().

Changed (breaking)

  • Container labels are now hidden by default. shouldRenderLabels starts as false, so an EasyContainerScreen no longer draws the vanilla title or inventory labels unless setShouldRenderLabels(true) is called.
  • Rendering: every GuiGraphics parameter is now GuiGraphicsExtractor. This covers render, renderTick, run, runChildren, culling, bound checks and all ITextureData render methods.
  • Transforms: matrices are now 2D. Matrix4f became Matrix3x2f in RenderableElement, UIFrame, Positioning, IPositioningContext, PositioningContexts and Transform.
  • Points: getGlobalPoint, getGlobalCornerPoint, globalToLocalPoint and globalToLocalPositionPoint now return JOML Vector2f instead of Vec2.
  • Rotation: only Z (in-plane) rotation is supported. Transform#setXRotation, setYRotation, getXRotation and getYRotation were removed.
  • Resource keys: ResourceLocation became Identifier everywhere. This includes EasyOverlayHandler.registerOverlay, overrideVanillaOverlay, getFrame, EasyOverlayPosition.ABOVE and BELOW, and TextureData / TextureDataSubsection. The TextureData record component was renamed from textureLocation to identifier.
  • Mouse events: UIFrame#mouseClicked, mouseReleased and mouseDragged now take vanilla's MouseButtonEvent, and mouseClicked also takes a doubleClicked flag. The EasyMouseEvent factory methods and constructor were changed to match. The public button field was removed; use getMouseEvent().button() instead. getDeltaX() and getDeltaY() were replaced by getScrollX() and getScrollY().
  • Key events: UIFrame#keyPressed and keyReleased and the EasyKeyEvent factories now take vanilla's KeyEvent. getKeyCode(), getScanCode() and getModifiers() were removed; use getKeyEvent() instead.
  • Screens: EasyScreen and EasyContainerScreen now override the new vanilla extract* methods (extractRenderState, extractLabels, extractTooltip, extractSlot, extractSlotHighlightFront / extractSlotHighlightBack and extractFloatingItem) in place of the old render* methods. resize now takes (int width, int height) and calls super.resize.
  • UIFrame#renderHoveredItemSlot now takes (GuiGraphicsExtractor, AbstractContainerScreen<?>) and finds the hovered slot itself.
  • EasyOverlayLayer now implements NeoForge's GuiLayer instead of LayeredDraw.Layer.
  • EasyTooltip#component is now an immutable Component (it was a MutableComponent). Tooltips are drawn through the new vanilla tooltip pipeline with their own easy_gui:easy_tooltip/<id> style.
  • Item tooltips in container screens are now drawn with setTooltipForNextFrame, so they respect the item's TOOLTIP_STYLE component.

Removed

  • TextureSpriteData, the atlas-sprite texture data. Use TextureData or TextureDataSubsection instead.
  • util.BoundChecker.
  • The scroll and mouse-button InputEvent listeners in EasyOverlayLayer. Overlays no longer receive global mouse click or scroll input; key input is still forwarded.
  • Z-index is no longer applied as a render-depth translation, because the 2D pose stack has no Z axis. getZIndex / getTotalZIndex still decide hover and event priority, but they no longer affect draw order.

Docs

  • README now has installation instructions using JitPack.

This mod has no related projects