API changes by version
What changed in the API in each release, newest first. Every change since the API first shipped in 1.1.0 has been additive, so an addon built against an older release keeps running on a newer one.
1.2.6
No API changes. The mod now builds for three ranges of Minecraft versions, and the API comes with each jar. The main JitPack line is still the 26.3 jar; the jars for 26.1 to 26.2 and for 1.21.9 to 1.21.11 are published beside it under classifiers named after their range. The 1.21.x jar is remapped, so it goes through modImplementation, and its drawing class is GuiGraphics. Other Minecraft versions has the lines to add.
1.2.5
ActionSettinghas a new constructor,ActionSetting(String label, int color, Runnable action), which tints the row's label in the HUD editor's context menu with an ARGB color;0keeps the default. Use it to mark a row that opens something rather than changing a value.HudModule.drawTextandtextWidthalways use the vanilla font, now that the bundled HUD fonts are gone.EymHudFontsstays in place, deprecated, with every method answering vanilla, so addons that call it keep running.
1.2.4
No API changes.
1.2.3
No API changes. This is the release that moved to Minecraft 26.3, so an addon built against it targets 26.3 too, with the plain implementation configuration.
1.2.2
ComboHeatmap.ofunderstands the new Custom Heatmap Difficulty and returns the player's own three tiers, read from the config on every call and kept in order.ComboStreakEventfollows counted hits. With the new Hit Detection on Server, its default, the event fires once the server confirms the hit rather than when the attack is sent.
1.2.1
No API changes.
1.2.0
The largest API release. Every addition has a default, so 1.1.0 addons run unchanged.
HudModuleimplements the newIHudElementinterface.getSubElements()lets a module hand the editor parts to drag one at a time, andonPositionUpdated()is called when a move finishes.- Fading:
supportsFade(),col(int)andrenderAlpha. - Text helpers that follow the Text Outline setting:
drawTextandtextWidth. - Plugin state:
saveState()andloadState()carry an addon's settings throughsimplecps.json, presets, share codes and server configs. - The settings screen gives every module a page.
getSettingsScreenSettings()adds rows only there, andgetSettingsTabs(), with the newSettingsTabrecord, splits the page into tabs. - Live preview:
getPreview(),isPreviewing()and the newHudPreviewinterface. - Events:
EymistakenHudPlugin.registerEvents(),EymistakenHudEventBus,ComboStreakEventandComboHeatmap. HudModuleManager.registerModule()refuses a name that is already taken, andisNameTaken(String)checks first.
1.1.1
No API changes.
1.1.0
The API ships: HudModule with its eight abstract methods and the editor hooks, the six setting types, EymistakenHudPlugin and the eymistaken_hud entrypoint.