Data Packs Icon And Description

Started by ChiaLeeChuen on

Topic category: Help with modding (Data Packs)

Last seen on 14:33, 27. Nov 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Data Packs Icon And Description
Thu, 02/03/2022 - 19:20 (edited)

I created a data pack. But how to put icon and description? Any ideas?

Edited by ChiaLeeChuen on Thu, 02/03/2022 - 19:20
Last seen on 06:01, 19. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
reference:  https:/…
Thu, 01/06/2022 - 16:41

reference: 

https://minecraft.fandom.com/wiki/Tutorials/Creating_a_data_pack

 

 This is your datapack folder

  • data (folder)   ---  all your loots, functions, worldgen and more goes here
  • pack.mcmeta  --- your description goes here
  • pack.png  ---  this is the image for your datapack
Last seen on 06:01, 19. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Text editor Any text editor…
Thu, 01/06/2022 - 16:43

Text editor

Any text editor should work. It is recommended that the chosen text editor supports JSON, which is the format used by files of mcmeta extension and most other files in a data pack. Note that most text editors do not recognize mcmeta extension as JSON. Thus, you need to configure the editors manually.

pack.mcmeta content

Open pack.mcmeta in your text editor and paste or type the following:

{
  "pack": {
    "pack_format": 7,
    "description": "TYPE HERE WHATEVER YOU LIKE"
  }
}

 

Note
This file is written in JSON! This tutorial does not go into specifics about the format now, but be aware about how things are laid out. Be very careful not to forget quotation marks, colons, and curly or square brackets. Make sure to not write trailing commas. Missing one of these can lead to your data pack not working correctly! To check your files you can use a JSON validator, such as the one found on JSONLint.

"pack_format"

The value of "pack_format" tells Minecraft what release the data pack is designed for, and is different for certain versions. The following list shows what versions each value is associated with:

4 for versions 1.13 – 1.14.4
5 for versions 1.15 – 1.16.1
6 for versions 1.16.2 – 1.16.5
7 for versions 1.17 - 1.17.1
8 for versions 1.18+
Note: As more updates are released, values may be changed or added.

"description"

The text following "description" can be any string or a raw JSON text. It will show up when you hover over your data pack in the output from /datapack list and in the data pack UI when creating a world. In pack.mcmeta, it is possible to use the § symbol (see Minecraft Formatting codes) in the description of pack.mcmeta and the data pack name.

Last seen on 14:33, 27. Nov 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know. But how to set it in…
Fri, 01/07/2022 - 00:15

I know. But how to set it in mcreator???

Last seen on 06:01, 19. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  You have to add the image…
Fri, 01/07/2022 - 02:31

 

You have to add the image separately.