Malorolam / LootBags

Other
21 stars 31 forks source link

Custom Loot Tables #63

Closed ghost closed 7 years ago

ghost commented 7 years ago

i was attempting to add a custom loot table to the lootbags but this happened

2017-04-09_15 46 53 2017-04-09_15 46 55 2017-04-09_15 46 57 2017-04-09_15 46 58 2017-04-09_15 46 59

here is my config file

Lootbags_BagConfig.txt lootbags.txt

here is my loot table file

1.txt

thanks

 -Rainbow
Malorolam commented 7 years ago

It's because there are no items in any of the bags. You have no whitelisted items and a non-existent ChestGenHook. Check your spelling on line 65 of lootbags.cfg to make sure it is correct. Also if that is intended to be something added by a tweaker mod for dungeon loot, most of those run their code after I pull the tables.

ghost commented 7 years ago

capture there is a photo of where the loottable is located can you tell me if i made a mistake

thanks -Rainbow

Malorolam commented 7 years ago

That won't work at all, the save-based loot tables load when the server starts, which is after I pull the tables. Besides, as I rip the items directly out of the pool structure that the jsons are designed around, using the whitelist functionality of my mod is more efficient.

ghost commented 7 years ago

ok thanks alot

 -Rainow
ghost commented 7 years ago

is it posible to have it not use the loot tables and just use the white listed items?

 -Rainbow
Malorolam commented 7 years ago

Yes.

ghost commented 7 years ago

how would i do so

Malorolam commented 7 years ago

[https://github.com/Malorolam/LootBags/wiki/Tutorials](The tutorial page) has tutorials for whitelisting items.

MiscMC commented 7 years ago

Very Good Info