kotatsu_allitems-1.5.0.jar
Curse Maven Snippet
What's new
# Kotatsu All Items — ChangeLog (English)
Game version: **v1.5.0**
Minecraft: **1.20.1**
Forge: **47.x** (`forge_version_range=[47,)` / `loader_version_range=[47,)`)
---
## v1.5.0 — 2026-09-07
The K menu has been reworked so it stays usable at every window size and GUI scale,
and every visible string is now keyed through `Component.translatable` so the GUI
auto-localizes between English (`en_us`) and Japanese (`ja_jp`). The existing
features (God / Flight / Hunger / Night Vision / No-KB / X-Ray / XP grant / Meteor /
Area Break / Entity Purge / Cheat Command whitelist) keep the same server-side
security thresholds and limits as v1.4.0.
### Added
- **Locale-aware UI**: every GUI label, sub-screen, and server-side chat message
now uses one of 79 translation keys (`en_us.json` / `ja_jp.json`, 79 keys each
— fully matched). Language follows the client's language setting.
- **Persistent bottom toolbar on the main menu**: `[Close]` / `[Take]` / `[Enchant]`
/ `[Cheat...]` live inside a fixed 26-px strip at the bottom of the screen, so
they are always clickable regardless of GUI scale or window size.
- **Persistent top toolbar on enchant / cheat sub-screens**: enchant shows
`[<<Back]` and `[Apply All MAX]`; cheat shows `[<<Back]` / `[Allow All]` /
`[Deny All]`. Each lives in a 24-px strip at the top of the screen.
- **`KotatsuAllItems.isSinglePlayerCheatsFree()` helper** for client-side display
(the authoritative check stays on the server via `ModPermissions.canImpactWorld`).
- **Per-row buttons on the enchant list**: each row now exposes `[-]` / `[+]`
/ `[Apply]` / `[Del]`. Sending `Lv=0` for an enchant removes it from the item.
### Changed
- **Live `· ON` / `· OFF` label updates**: `refreshToggleLabelsNow()` is now
called once per frame from `render(GuiGraphics)`. As soon as the server
returns a `SyncStatePacket`, the button text flips from `God · OFF` to
`God · ON` on the very next render — no GUI reopen required.
- **Only the six real toggles display `· ON` / `· OFF`**: guarded by
`REAL_TOGGLE_KEYS` (`god / flight / hunger / nightvision / noknockback / xray`).
Action labels (`Take`, `Max Ench`, `+ Lv`, `Purge`, …) stay as their pure names.
- **Take quantity restored to "max possible per click"**:
`ItemPickupScreen.giveSelected()` now requests
`item.getMaxStackSize() × 64` of the selected item. Server-side
`SafeLimits.clampItemCount()` clamps each item back down to its
`getMaxStackSize()`:
- Blocks (64): **4,096** per click
- Tools (1): **64** per click
- Ender pearls (16): **1,024** per click
- **Responsive panel widths**: right panel width is derived dynamically from
`this.width` (`clamp(160, this.width - panelX - 8, 360)`), with a 4-px inner
gap between split buttons. The left item list keeps a fixed width of 170 px.
- **Render ordering**: item icons are now drawn on top of selection rows, so
tooltips and button hitboxes no longer fight for the same pixels.
### Fixed
- **Enchant / Cheat sub-screen controls were unreachable** on tall windows:
anchored in their own toolbar strip above the scrolling content.
- **Widgets doubled up when GUI scale changed**: `init()` now resets
`cy / scrollOffset / totalRows / heads / toggles / toggleKeys / itemButtons`
on every entry, so a re-`init()` after the user resizes the GUI no longer
accumulates leftover state from the previous layout pass.
- **`Spectator` label appeared garbled in `ja_jp.json`**: translatable key value
fixed.
- **`Cheat Commands ▷` button was clipped off-screen** on tall layouts: now
pinned to the bottom toolbar.
### Stability
- Implemented strictly against Forge 47.2.0 verified APIs. The non-existent
`RenderLevelLastEvent` / `RenderWorldLastEvent` classes are not referenced
anywhere in the source.
- Same `protocolVersion = "5"` as v1.4.0; a v1.4.0 client still connects to a
v1.5.0 server and vice-versa.
- All numeric inputs (XP / levels / amounts) are still clamped through
`SafeLimits`, the same constants.
### Notes
- Singleplayer: the cheat-command sub-screen opens without OP prompts.
This is a client-side convenience only — `ModPermissions.canImpactWorld()`
still requires OP level 4 on LAN-published or dedicated servers, so a
modified client cannot bypass permissions on a remote server.
- "Apply All Enchants MAX" includes curse enchantments by design.
---
## v1.4.0 — 2026-09-06
- Hardened server-side packet handling.
- Restructured K main menu: added Night Vision toggle, No-Knockback toggle,
Game Mode switch, X-Ray locator, and the Cheat Commands sub-screen.
- Permission tiers split: per-self effects vs. world-impact actions.
## v1.3.0 — 2026-09-06
- Stability and safety improvements across the board.
- Stronger server-side input validation.
- Reduced server load from rapid repeated actions.
- Hardened against unexpected failures.
## v1.2.0 — 2026-09-06
- Added Meteor Summon / Area Destroy / Entity Wipe buttons to the GUI.
## v1.1.0 — 2026-09-06
- Added the "Max Hunger" toggle.
## v1.0.0 — 2026-09-06
- Initial release (all-items GUI / XP grant / enchant grant / God mode /
Creative flight).
This mod has no additional files

