Skip to content

minetower/packs

Repository files navigation

Packs repository

File with info about pack in info.json structure.

  • id: Pack identifier
  • name: Pack name displayed
  • category: Pack category
  • description (optional): Pack description displayed in the modal after clicking on the question mark
  • description_type (optional): Description type, if present, must be one of markdown, html
  • preview_format (optional): File extension of preview, default is jpg, file name should be preview
  • incompatible (optional): List of incompatible packs, each pack in category_id/pack_id format
  • extends (optional): Pack in category_id/pack_id format to include resources from. Included resources will overwritten by resources with the same names from current resourcepack. Including resources from pack with more than one version is not supported
  • versions (optional): List of varying pack resources for different versions of pack_format
    • format: pack_format to apply this version, can be a single value: 5, or a range: 1-5, 5+, 5-
    • folder: A subfolder in the versions folder with resources for this version

Example

The following scheme is used to describe the folder and file structure.

For resources.json.

  1. Write folders in nested format
{
  "folder1": {
    "folder2": {}
  }
}
  1. Write files in one folder as array
{
  "folder": ["file1.png", "file2.png"]
}
  1. If you have folder with files and other folders, write files as array under key "."
{
  ".": ["file1.png", "file2.png"],
  "folder1": {},
  "folder2": {}
}
  1. If you have structure like
- folder1
  - folder2
    - folder3

you can write instead of

{
  "folder1": {
    "folder2": {
      "folder3": {}
    }
  }
}

this:

{
  "folder1/folder2/folder3": {}
}

For example, you have this folders structure:

- pack.mcmeta
- assets
  - minecraft
    - textures
      - block
        - acacia_log.png

create resources.json in resource pack root folder and fill with this content:

{
  ".": ["pack.mcmeta"],
  "assets/minecraft/textures/block": ["acacia_log.png"]
}

Retrieving default resources

Answered here

You should find minecraft.jar, and then run from folder with this file

unzip minecraft.jar 'assets/*' -d 'default'

Resource pack will be in the default folder.

Where to find minecraft.jar

  • Official launcher: <minecraft folder>/versions/<version>/
  • MultiMC: <multimc folder>/libraries/com/mojang/minecraft/<version>/
Format Versions
1 1.6.1 - 1.8.9
2 1.9 - 1.10.2
3 1.11 - 1.12.2
4 1.13 - 1.14.4
5 1.15 - 1.16.1
6 1.16.2 - 1.16.5
7 1.17 - 1.17.1
8 1.18 - 1.18.1

Testing

You can use Java 17 for Minecraft 1.13+, Java 8 for Minecraft 1.6+

Building

You need imagemagick installed, then

yarn install
yarn build

Useful links

About

Packs repository

Topics

Resources

Stars

Watchers

Forks