kloberpacks-mc26.2-2.2.0.jar
Curse Maven Snippet
What's new
# KloberPacks 2.2.0An in-game texture pack studio for Minecraft Java 26.1 – 26.3. Client-side Fabric mod: browse any texturein the game, take an alternative from a bundled preset or any installed pack, draw your own in a pixeleditor, preview it on your live player model, and export the result as a normal resource pack.## What it does**Browse and pick.** Every texture target the game actually uses is discovered from the active resourcestack - armour, tools, weapons, items, blocks and misc - and listed as cards. Any texture from any enabledpack, any bundled preset, or your own saved texture can be assigned to a target, one at a time.**Per-piece armour.** Helmet, chestplate, leggings and boots are chosen independently. Vanilla draws themfrom one 64x32 sheet per material, so KloberPacks rebuilds that sheet: the material's own pixels with eachchosen piece cropped into the region it occupies. No `equipment/*.json` is rewritten, which means anenabled pack keeps its own armour definitions for every piece you did not override.**Nine bundled presets.** Tokyo Ghoul, Kino's Blood Pack, Ribbon Violet, Ribbon Sculk, Jec's Black Hole,Barebones PVP, LSharpness 500k, Vanilla+ V2, Swight V3HEMax. They ship inside the mod jar, are extractedto the game directory on first run, and are mounted as ordinary resource packs when selected - so enablingone behaves exactly like ticking that pack in the vanilla pack menu, including its position in the order.**Pixel editor.** Pencil, eraser, line, rectangle, fill, colour picker, HSV/hex/RGB input, palettes,horizontal and vertical mirroring, zoom and pan, undo/redo, a hold-Alt compare against the source texture,and save-as with a name of your choosing. Closing with unsaved pixels asks first.**Live preview.** Your own player model, in the studio, with pending armour applied through a temporaryGPU texture swap - no resource reload per click. Drag to rotate, arrow keys or the buttons to change thematerial set, and a held-item plate for tool and weapon targets.**Pack order is respected.** Your own pack selection is captured before KloberPacks ever writes to it, andpriority is built as your packs < active preset < KloberPacks generated layer. "Reset to default" handsyour original ordering back.**Export.** The generated layer on its own, or merged with the active preset, as a standard zip with a`pack.mcmeta` whose format is read from the running game (`SharedConstants.RESOURCE_PACK_FORMAT_MAJOR` and`_MINOR`), so the exported pack is valid for that version.**Keys.** `K` opens the studio, `J` toggles every override on and off at once. Both are remappable under*Settings → Controls → KloberPacks*. The editor is bound from the studio or remapped in the same list.---## Changes in 2.2.0### Fixed- **Armour rendered as the missing-texture pattern.** A layer's `texture` field in `assets/<ns>/equipment/<material>.json` is not an ordinary texture id: the game expands it to `textures/entity/equipment/<layer>/<path>.png`. The previous build wrote full paths there, so the resolved location was doubled and every overridden piece went pink-and-black. Armour is now a sheet composite and no longer writes identifiers at all.- **Applying a preset did not fully change armour.** The generated pack rewrote the vanilla equipment definitions, replacing whatever the enabled pack had written there with a copy taken before the preset was mounted. Equipment JSON is untouched now, and each composite starts from the enabled pack's own sheet when it ships one.- **Apply appeared to hang forever.** The working overlay counted up instead of down, so the queued apply never ran and the "Applying…" panel stayed on screen. The apply also ran inside the render pass; it now runs from `tick()` after the overlay has had a frame to paint.- **`IllegalStateException: Can only blur once per frame` on every dialog.** Opening a dialog or the editor used `Minecraft.setScreenAndShow`, which forces a frame render from inside an input handler. All 26 transitions now use the deferred screen setter (`Gui.setScreen` on 26.2/26.3, `Minecraft.setScreen` on 26.1).- **Layout collapsed at a small GUI scale.** Panels were sized from the raw window, which at scale 1 is thousands of logical pixels wide: the model plate became a thin strip next to a vast card grid. The studio now lays out inside a clamped 1100×640 design box, centred, with the background still full-screen.- **Player preview was far too small.** The GUI entity scale is pixels per world unit, and it was clamped to 48, so a 1.8-block player could never exceed about 86 pixels regardless of available room. It now scales to fill the plate.- **Thumbnails looked like static.** Whole 64×32 equipment sheets were blitted into 38-pixel cards with nearest filtering, dropping rows and columns. Previews are now cropped to the piece they represent and resampled for the size they are drawn at - block-duplicated when they grow, premultiplied area-averaged when they shrink.- **Model reference scan aborted** with `Range [12, 11) out of bounds`: the backward key search in the JSON scanner found the closing quote it started from and asked for an inverted substring.- **Hex input rejected every valid colour.** `isHex` and the editor's colour field tested the parsed value against zero, but an opaque colour is a negative int, so `#8B5CF6` was "invalid". Parsing now returns an explicit nullable result, and `-1` is no longer used as a failure marker because it is also opaque white.- **First apply reloaded resource packs twice.** Folder and archive pack ids are deterministic, so the discovery reload was unnecessary.- **Card clicks could act on the wrong card** after a scroll, because hit testing used the index computed during the previous frame. Geometry now derives the card under the cursor at click time.- **Unsaved pixel work was silently discarded** when closing the editor.### Changed- Mod icon is a texture-swatch grid instead of a microphone.- `depends.minecraft` is an exact minor range per target rather than `~26.x`.- Disabled armour rows no longer keep their piece on the preview model.- Test logging no longer writes a `logs/` directory into the project.### Internal- New `ArmourComposite` (sheet cropping) and `ThumbnailBake` (crop and resample) in the common source set, both pure `int[]` arithmetic so they are unit tested without a game; `PreviewTextures` and the pack writer now share the same cropping code.- `PackEntry.ArmourLayer` and `PackEntry.EquipmentPatch` replaced by `PackEntry.SheetComposite`.- 33 unreferenced methods removed; dead drag state in the model renderer dropped in favour of the screen's own drag handling.- Card grid geometry has one source of truth (`gridColumns` plus a named `ROW_PITCH`), so drawing, hit testing and scroll clamping can no longer drift apart.- Test suite: 138 tests, 0 failures (`./gradlew test`).
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects