Resource Pack: create and deliver custom models, textures and audio
Resource packs power Items, Blocks, Furniture, Entities, Fonts and visual UI. Editable source is plugins/Obsidrel/pack/source/; never use pack/generated/ as source.
1. Custom item image
Save pack/source/assets/obsidrel/textures/item/ruby.png. In the item YAML:
ruby:
material: EMERALD
name: '<red>Custom Ruby</red>'
model:
path: obsidrel:item/ruby
texture: obsidrel:item/ruby
obsidrel:item/ruby refers to the image without the PNG extension.
2. Blockbench Furniture model
Place:
pack/source/assets/obsidrel/
├── models/furniture/my_chair.json
└── textures/block/my_wood.png
Set model.path: obsidrel:furniture/my_chair and model.texture: obsidrel:block/my_wood on Furniture. Update the JSON model's own texture references too.
3. Fonts, animations and sounds
- Bitmap glyph:
textures/font/orb.png, with a fonttexture: obsidrel:font/orb.png(with extension). - Animated block: vertical strip PNG and
model.animation.frametime; pack build generates animation metadata. - Custom sound:
sounds/ui/click.oggand sound eventobsidrel:ui/clickdefined underresources/sounds/. - Optional packs/sources under
pack/sources/;pack/generated/is compiled output.
4. Build, publish, test
- Run
/obsidrel reloadfor YAML. - Run
/obsidrel pack buildfor assets. - Check
/obsidrel pack statusand delivery provider/URL. - Run
/obsidrel pack publishif the configured provider requires publication. - Test
/obsidrel pack send <player>and wait forSUCCESSFULLY_LOADED. - Debug keys, namespaces, target version, JSON references, download and client cache.