SilentChaos512 / Treasure-Bags

Minecraft mod: Loot bags created with data packs
MIT License
1 stars 4 forks source link

Bag types appear to be broken #3

Closed Partonetrain closed 5 years ago

Partonetrain commented 5 years ago

Versions

Expected behavior

Bags show correct color, and using them gives you the loot pool

Actual behaviour

Bag displays "Unknown Type", even with valid type, such as treasurebag:spawn and does not work

Links/Images

image

Steps to reproduce the problem

  1. Create a new world (also can use /give @p treasurebags:treasure_bag{silentlib.LootContainer: {BagType: "<valid bag type>"}})
  2. Try to open, get nothing
  3. View in inventory, "Unknown Type"
SilentChaos512 commented 5 years ago

Could I get a log file, please? Last time I encountered an issue like this, it turned out to be another mod breaking the game. Considering this works fine in dev, I'm guessing that's the case here.

Partonetrain commented 5 years ago

My apologies, I had invalid JSON in a data pack. (No amount of disabling mods will help me there.) Sorry for wasting your time :(