Note
this tool was developed for use in ac
.
credit: kestrel@alphacorp
minecraft resource pack creation utility for custom sprites, supporting both java and bedrock editions.
this resource pack provides custom font-based sprites for minecraft servers. it supports both java (post 1.16) and bedrock editions.
- dual platform support (java + bedrock)
- custom sprite integration via font system
- automated build process for both platforms
.
├── assets/ # resource pack assets
│ ├── bedrock/ # bedrock-specific assets
│ └── java/ # java-specific assets
├── images/ # source sprite images
├── src/ # build scripts
│ ├── bedrock/ # bedrock build system
│ └── java/ # java build system
└── build/ # compiled resource packs
- python 3.x
- pillow (python imaging library)
- java edition:
python src/java/build.py
- bedrock edition:
python src/bedrock/build.py
builds will be generated in the build/
directory with timestamps.
- locate the generated zip file in
build/java/
- copy to
.minecraft/resourcepacks/
- activate in minecraft's resource packs menu
- locate the generated mcpack file in
build/bedrock/
- open the file on your device
- import into minecraft
- enable in global resources
use in minecraft titles with this command:
/title @a title {"text":"\u+defined_unicode_character"}
sprites are loaded through the font system using bitmap providers in assets/java/minecraft/font/default.json
:
- each sprite is defined as a separate bitmap provider
- sprites use 128x128 pixel dimensions
- configuration includes:
- type: "bitmap"
- file: path to the sprite
- ascent: 64 (vertical positioning)
- height: 128 (sprite height)
- chars: unicode character mapping
example configuration:
{
"type": "bitmap",
"file": "minecraft:font/debug.png",
"ascent": 64,
"height": 128,
"chars": [""]
}
sprites are combined into a single sprite sheet:
- sheet dimensions: 2048x2048 pixels
- grid layout: 16x16 cells
- cell size: 128x128 pixels
- file name:
glyph_A0.png
sprite positions in sheet:
- debug: (0, 0)
- debug_white: (0, 1)
- startup: (0, 2)
- startup_white: (0, 3)
- add sprite png to
images/font/
- add bitmap provider entry in
assets/java/minecraft/font/default.json
- run java build script
- add sprite png to
images/font/
- add position mapping in
src/bedrock/build.py
- run bedrock build script to generate new sprite sheet