CraftTweaker

CraftTweaker

151M Downloads

The command: /mt loot

belathus opened this issue · 12 comments

commented

While I believe that the help command doesn't list /mt loot, but it'd be nice to be able to get a log of all of the loot containers. Right now, this command simply returns an error.

commented
commented

1.10.2, CraftTweaker version 3.0.15

commented
commented

Any chance it will be?

commented
commented

Awesome; we have too many mods that add too much loot. Thanks, Jared.

commented

@jaredlll08
I've made a CT addon that allows loot tables to be tweaked. Would you like to take a look at the code?

commented

Please!

commented

@jaredlll08
Here's the repo : https://github.com/Leviathan143/LootTweaker
The important classes are LootTableTweaker, ZenLootTableWrapper, and ZenLootPoolWrapper
There's also CommandLootTables, which does what belathus was asking for.
Docs for the ZenScript functions can be found on the repo wiki

commented

@vpontin Thank you!
LootTweaker is actually available right now if you want to use it.
You can get it here

commented

Thanks @leviathan143 ! I hope your patches get added to the main release!

commented

At this point, there are too many other options for this, LootTweaker and LootTableTweaker, so it would be unfair for me to implement this and kill off 2 mods.