Loot modifier is a plugin that allows you to inject your own loot tables into other existing minecraft loot tables and other mods' loot tables too through the use of the new loot modifier mod element. All you have to do is create a loot table and use it in it.
This is a java plugin and therefore requires the java plugins feature to be enabled in preferences
Changelog
v1.3
-Updated for MCreator 2024.2 and neoforge 1.20.6
v1.2.1
-Updated to work with MCreator 2024.1.15821
v1.2
-Support for 2024.1
-Support for neoforge 1.20.4
v1.1
-Fixed loot modifiers crashing the game in 1.20.1
Comments
I have been doing exactly this, but not with a plug-in, no java programing needed. When you create the loot table, simple name it exactly the same name as the loot table in minecraft that you want to replace.
Example below for the buried treasure chest found in beaches:
Loot Table Registry Name: chests/buried_treasure
Loot table Namespace: minecraft
Loot Table type: Chest
Then simply make the loot table below as you want it to be.
That's all you have to do. You can test it by launching a new world, finding a vanilla buried treasure chest and checking to see if your new loot is there.
This also works for block drops (such as altering what a ore block drops)
Here is a list of the vanilla loot tables (It's missing a few, but most are there):
https://mcreator.net/wiki/minecraft-vanilla-loot-tables-list
Neat plugin as always, just thought about a new plugin that allows to create json files for Structure Pools, those used in Jigsaw blocks to generate dungeons. That would be a cool implementation, but idk how viable it is to work with Jigsaws seeing that they have a limit on how much components they can generate, I should take a look on that but just leaving the idea here if you're interested on something like that. Insanely good work man!
Hello, I need this plugin for my mod. I wonder when the new version will be released? 🤗