Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 2.48 KB

Contributing.md

File metadata and controls

34 lines (29 loc) · 2.48 KB

Contributing

If you want to contribute to the datapack, you can always open a pull request. The best way to contribute to the datapack is to add new items, only vanilla ones though as modded items will not work on other instances.

Adding new items to the datapack is pretty simple. Firstly, choose to which version of the datapack you want to add items. The next thing you need to do is to add items to the loot tables.

  • If you want to add normal items, edit normal_items.json
  • If you want to add spawn eggs, edit spawn_eggs.json
  • If you want to add command blocks, edit command_blocks.json
  • If you want to add other creative only items, edit other_items.json
  • If you want to add enchanted books, edit enchanted_books.json
  • If you want to add lingering potions, edit lingering_potion.json
  • If you want to add potions, edit potion.json
  • If you want to add splash potions, edit splash_potion.json
  • If you want to add suspicious stews, edit suspicious_stew.json
  • If you want to add tipped arrows, edit tipped_arrow.json
  • If you want to add paintings, edit paintings.json
  • If you want to add goat horns, edit goat_horns.json

Make sure to edit all loot tables in all folders when adding a new item. In the loot tables where you get multiple items, ensure that the amount value is correct.

Old Versions

Starting with version 1.4.2 for 1.20.2, the structure on how item groups are represented by loot tables has changed. Before, it was more complicated and not as straight forward as today. Here is the overview for the old loot tables. Any loot tables, that are not listed here behave the same as in new versions. For even older versions, you should also edit rng_main.json to include the correct number of items.

All old loot tables:

  • main.json contains all items
  • main_without_creative-only.json contains all normal items (All items that are not creative-only)
  • special_vvx.json contains all normal items, spawn eggs, command blocks, but not other creative-only items
  • special_vxv.json contains all normal items, spawn eggs, other creative-only items but not command blocks
  • special_vxx.json contains all normal items, spawn eggs but not command blocks and other creative-only items
  • special_xvv.json contains all normal items, command blocks, other creative-only items but not spawn eggs
  • special_xvx.json contains all normal items, command blocks, but not spawn eggs and other creative-only items
  • special_xxv.json contains all normal items, other creative-only items, but not spawn eggs and command blocks