BeansGalaxy / Beans-Backpacks-2

1.20 inventory management mod. Designed to solve inventory clutter and transferring items while belonging in vanilla Minecraft's aesthetic.
MIT License
21 stars 1 forks source link

Modifying Blacklist #75

Closed VitaminJake closed 4 months ago

VitaminJake commented 4 months ago

I understand how to create custom backpacks and all of that, but how do we modify the data for the backpacks from the mod? I want to add a blacklist entry for other modded items for the actual beansbackpacks and can't find a JSON or anything anywhere where the mod data is stored. How does it work?

BeansGalaxy commented 4 months ago

Idk if you've read this too but here's the wiki page and here's the template data pack. DO NOT name the folder inside data beansbackpacks. You can keep it as template or even name it minecraft and it'll work.

  1. Download the data pack and inside you'll find blacklist_items.
  2. add items by their IDs like minecraft:dirt
  3. I have all shulkers disabled by default, if you want to remove that use ! infront of items to force then to be enabled

Then just enable the datapack when you create the world or put it in the in a world's datapacks folder. Lmk if you need any more help.

BeansGalaxy commented 4 months ago

Btw I plan on re-writing how backpacks are added, if you've created any what did you think was lacking or needed to make it better?

BeansGalaxy commented 4 months ago

Closing this issue but feel free to still leave your thoughts