Content Pack¶
Content Pack Files Structure¶
First at all, you need to understand the content pack files hierarchy.
Folder/Zip File Structure¶
π Content Pack Root ββ π content.pack ββ π pack.mcmeta ββ πΌοΈ pack.png β βββ π assets β βββ π objects ββ π biomes ββ π blocks ββ π effects ββ π events β βββ π blocks ββ π generations β βββ π ores ββ π itemgroup ββ π items ββ π materials β ββ π armor β βββ π tools ββ π paintings ββ π potions ββ π sounds
Content Pack folder/zip file directory¶
- Windows:
%Appdata%\Roaming\.minecraft\contentpacks
- Linux:
~/.minecraft/contentpacks
- Mac OS X:
~/Library/Application Support/minecraft/contentpacks
Explanations¶
Content Pack Root
A simple folder with all necessary resources below.
To be compiled as a zip file or directly a folder
content.pack¶
content.pack
The most important file to let Nuwa recognize the content pack
That's a json structured file.
{ "packName": "Ma Super Packy Pack", //mandatory "namespace": "super_pack", //mandatory "version": "0.0.1", //mandatory "nuwaDataVersion" : 2, //mandatory "authors" : ["ZeAmateis"], //optional "credits" : ["Thanks to my parents to bring me life."], //optional "description": [ //optional "That was ma super pack description !", "Yeah boiiii." ] }
Tip
You can implement a Creative Commons licence for your work if you want. See Work with licenses section.
pack.mcmeta¶
pack.mcmeta
An other important file !
This file is mandatory in resources packs, so it's mandatory for content packs.
Nuwa can recognize what assets to be loaded
The json structure is the same as Resources Packs
pack.png¶
pack.png
An optional logo to pimp your content pack
assets¶
assets
The main folder to include all resources of your content pack
Textures, json models, sounds, etc
Like a basic resource pack !
data¶
data
The main folder to include all data of your content pack
loot_tables, tags, etc
Like a basic resource pack !
objects¶
objects
The main folder to include all new objects json datas.
Theses datas is needed to implements new objects in the game