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