Перейти к содержимому
Mineforgian

CodxLib

A library with shared functions for all Codx mods.

10K загрузок2 подписчиковCC-BY-NC-ND-4.0fabricforgeneoforge

Обновлён 5 июля 2026 г. · опубликован 12 июня 2026 г.

CodxLib is a shared library mod for the codx mod suite. All Codx mods share the same multiloader template and have been copy-pasting the same boilerplate — platform services, update checker, and much more CodxLib exists to own that shared code in one place.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.3.2Релиз26.1, 26.1.1, 26.1.2fabric5 июля 2026 г..jar (127 КБ)
1.3.2Релиз26.1, 26.1.1, 26.1.2forge5 июля 2026 г..jar (126 КБ)
1.3.2Релиз26.1, 26.1.1, 26.1.2neoforge5 июля 2026 г..jar (124 КБ)
1.3.1Релиз26.1, 26.1.1, 26.1.2fabric5 июля 2026 г..jar (127 КБ)
1.3.1Релиз26.1, 26.1.1, 26.1.2forge5 июля 2026 г..jar (126 КБ)
1.3.1Релиз26.1, 26.1.1, 26.1.2neoforge5 июля 2026 г..jar (124 КБ)
1.3.0Релиз26.1, 26.1.1, 26.1.2fabric25 июня 2026 г..jar (127 КБ)
1.3.0Релиз26.1, 26.1.1, 26.1.2forge25 июня 2026 г..jar (126 КБ)
1.3.0Релиз26.1, 26.1.1, 26.1.2neoforge25 июня 2026 г..jar (124 КБ)
1.2.1Релиз26.1, 26.1.1, 26.1.2fabric22 июня 2026 г..jar (124 КБ)
1.2.1Релиз26.1, 26.1.1, 26.1.2forge22 июня 2026 г..jar (123 КБ)
1.2.1Релиз26.1, 26.1.1, 26.1.2neoforge22 июня 2026 г..jar (122 КБ)
1.2.0Релиз26.1, 26.1.1, 26.1.2fabric17 июня 2026 г..jar (124 КБ)
1.2.0Релиз26.1, 26.1.1, 26.1.2forge17 июня 2026 г..jar (123 КБ)
1.2.0Релиз26.1, 26.1.1, 26.1.2neoforge17 июня 2026 г..jar (122 КБ)

Показаны последние 15 из 22 версий. Все версии — на Modrinth.

Ченджлог

1.3.2Релиз26.1, 26.1.1, 26.1.2 · 5 июля 2026 г.

CodxLib 1.3.2

Fixes a crash introduced in 1.3.1: joining/loading a world could fail with "Invalid player data" and disconnect you at the loading screen.

For players / server admins

  • Fixed: worlds failing to load with "Invalid player data" on 1.3.1. The /codxlib help permission check dereferenced the server while the game was still building the command list sent to you on join — at that moment the server reference can be absent, which threw an error and aborted the join. The check is now null-safe, so world loading works normally again. Any mod that depends on CodxLib was affected; updating to 1.3.2 resolves it (no need to stay on 1.3.0).
  • /codxlib help still behaves exactly as in 1.3.1: available in single-player, operator-only on dedicated servers, console always allowed.

For developers (consumer mods)

No API changes. If you shipped against 1.3.1, bump your codxlib_version to 1.3.2 and re-publishToMavenLocal / re-publish so players get the fixed jar.

1.3.2Релиз26.1, 26.1.1, 26.1.2 · 5 июля 2026 г.

CodxLib 1.3.2

Fixes a crash introduced in 1.3.1: joining/loading a world could fail with "Invalid player data" and disconnect you at the loading screen.

For players / server admins

  • Fixed: worlds failing to load with "Invalid player data" on 1.3.1. The /codxlib help permission check dereferenced the server while the game was still building the command list sent to you on join — at that moment the server reference can be absent, which threw an error and aborted the join. The check is now null-safe, so world loading works normally again. Any mod that depends on CodxLib was affected; updating to 1.3.2 resolves it (no need to stay on 1.3.0).
  • /codxlib help still behaves exactly as in 1.3.1: available in single-player, operator-only on dedicated servers, console always allowed.

For developers (consumer mods)

No API changes. If you shipped against 1.3.1, bump your codxlib_version to 1.3.2 and re-publishToMavenLocal / re-publish so players get the fixed jar.

1.3.2Релиз26.1, 26.1.1, 26.1.2 · 5 июля 2026 г.

CodxLib 1.3.2

Fixes a crash introduced in 1.3.1: joining/loading a world could fail with "Invalid player data" and disconnect you at the loading screen.

For players / server admins

  • Fixed: worlds failing to load with "Invalid player data" on 1.3.1. The /codxlib help permission check dereferenced the server while the game was still building the command list sent to you on join — at that moment the server reference can be absent, which threw an error and aborted the join. The check is now null-safe, so world loading works normally again. Any mod that depends on CodxLib was affected; updating to 1.3.2 resolves it (no need to stay on 1.3.0).
  • /codxlib help still behaves exactly as in 1.3.1: available in single-player, operator-only on dedicated servers, console always allowed.

For developers (consumer mods)

No API changes. If you shipped against 1.3.1, bump your codxlib_version to 1.3.2 and re-publishToMavenLocal / re-publish so players get the fixed jar.

1.3.1Релиз26.1, 26.1.1, 26.1.2 · 5 июля 2026 г.

CodxLib 1.3.1

Makes /codxlib help reachable in single-player without enabling cheats.

For players / server admins

  • /codxlib help now works in single-player even with commands/cheats off — so you can always generate a debug report to attach to a bug request. On dedicated servers it stays operator-only (and the server console can always run it), exactly as before.

For developers (consumer mods)

No API changes.


CodxLib 1.3.0

Adds a small notification toolkit so codx mods can show toasts and clickable chat links without re-deriving the boilerplate.

For developers (consumer mods)

  • New CodxNotify (codx.codxlib.api) — shared chat-notification helpers:
    • link(url) / link(label, url) — build the clickable underlined aqua link component (the pattern previously hand-rolled in the update checker and /codxlib help).
    • prefixed(chatPrefix, message) — a grey [Mod] prefix in front of a message.
    • toPlayer(...), toConsole(...), toOperators(...) — push a message to one player, the server console, or every op (lone player in single-player).
  • New CodxToast (codx.codxlib.api.ui, client-only) — show the vanilla top-right "system toast" card: show(title, description) plus a keyed show(key, title, description) overload that updates one card in place instead of stacking duplicates.

The update checker and /codxlib help now build their links through CodxNotify.

For players / server admins

No behavioural changes — same update notices and /codxlib help as before.

1.3.1Релиз26.1, 26.1.1, 26.1.2 · 5 июля 2026 г.

CodxLib 1.3.1

Makes /codxlib help reachable in single-player without enabling cheats.

For players / server admins

  • /codxlib help now works in single-player even with commands/cheats off — so you can always generate a debug report to attach to a bug request. On dedicated servers it stays operator-only (and the server console can always run it), exactly as before.

For developers (consumer mods)

No API changes.


CodxLib 1.3.0

Adds a small notification toolkit so codx mods can show toasts and clickable chat links without re-deriving the boilerplate.

For developers (consumer mods)

  • New CodxNotify (codx.codxlib.api) — shared chat-notification helpers:
    • link(url) / link(label, url) — build the clickable underlined aqua link component (the pattern previously hand-rolled in the update checker and /codxlib help).
    • prefixed(chatPrefix, message) — a grey [Mod] prefix in front of a message.
    • toPlayer(...), toConsole(...), toOperators(...) — push a message to one player, the server console, or every op (lone player in single-player).
  • New CodxToast (codx.codxlib.api.ui, client-only) — show the vanilla top-right "system toast" card: show(title, description) plus a keyed show(key, title, description) overload that updates one card in place instead of stacking duplicates.

The update checker and /codxlib help now build their links through CodxNotify.

For players / server admins

No behavioural changes — same update notices and /codxlib help as before.

1.3.1Релиз26.1, 26.1.1, 26.1.2 · 5 июля 2026 г.

CodxLib 1.3.1

Makes /codxlib help reachable in single-player without enabling cheats.

For players / server admins

  • /codxlib help now works in single-player even with commands/cheats off — so you can always generate a debug report to attach to a bug request. On dedicated servers it stays operator-only (and the server console can always run it), exactly as before.

For developers (consumer mods)

No API changes.


CodxLib 1.3.0

Adds a small notification toolkit so codx mods can show toasts and clickable chat links without re-deriving the boilerplate.

For developers (consumer mods)

  • New CodxNotify (codx.codxlib.api) — shared chat-notification helpers:
    • link(url) / link(label, url) — build the clickable underlined aqua link component (the pattern previously hand-rolled in the update checker and /codxlib help).
    • prefixed(chatPrefix, message) — a grey [Mod] prefix in front of a message.
    • toPlayer(...), toConsole(...), toOperators(...) — push a message to one player, the server console, or every op (lone player in single-player).
  • New CodxToast (codx.codxlib.api.ui, client-only) — show the vanilla top-right "system toast" card: show(title, description) plus a keyed show(key, title, description) overload that updates one card in place instead of stacking duplicates.

The update checker and /codxlib help now build their links through CodxNotify.

For players / server admins

No behavioural changes — same update notices and /codxlib help as before.

1.3.0Релиз26.1, 26.1.1, 26.1.2 · 25 июня 2026 г.

CodxLib 1.3.0

Adds a small notification toolkit so codx mods can show toasts and clickable chat links without re-deriving the boilerplate.

For developers (consumer mods)

  • New CodxNotify (codx.codxlib.api) — shared chat-notification helpers:
    • link(url) / link(label, url) — build the clickable underlined aqua link component (the pattern previously hand-rolled in the update checker and /codxlib help).
    • prefixed(chatPrefix, message) — a grey [Mod] prefix in front of a message.
    • toPlayer(...), toConsole(...), toOperators(...) — push a message to one player, the server console, or every op (lone player in single-player).
  • New CodxToast (codx.codxlib.api.ui, client-only) — show the vanilla top-right "system toast" card: show(title, description) plus a keyed show(key, title, description) overload that updates one card in place instead of stacking duplicates.

The update checker and /codxlib help now build their links through CodxNotify.

For players / server admins

No behavioural changes — same update notices and /codxlib help as before.

1.3.0Релиз26.1, 26.1.1, 26.1.2 · 25 июня 2026 г.

CodxLib 1.3.0

Adds a small notification toolkit so codx mods can show toasts and clickable chat links without re-deriving the boilerplate.

For developers (consumer mods)

  • New CodxNotify (codx.codxlib.api) — shared chat-notification helpers:
    • link(url) / link(label, url) — build the clickable underlined aqua link component (the pattern previously hand-rolled in the update checker and /codxlib help).
    • prefixed(chatPrefix, message) — a grey [Mod] prefix in front of a message.
    • toPlayer(...), toConsole(...), toOperators(...) — push a message to one player, the server console, or every op (lone player in single-player).
  • New CodxToast (codx.codxlib.api.ui, client-only) — show the vanilla top-right "system toast" card: show(title, description) plus a keyed show(key, title, description) overload that updates one card in place instead of stacking duplicates.

The update checker and /codxlib help now build their links through CodxNotify.

For players / server admins

No behavioural changes — same update notices and /codxlib help as before.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…