Description

This mod currently lets you change the XP drops of blocks and entities. It lets you specify lists of operations to perform on the XP drops of either all block/entities or specific ones (by ID or TAG). You can also specify a range for your value if you want a randomized amount. Operations are ordered by their specified priorities.
Note: This is a server-sided mod and the configuration file will be generated per-world inside the serverconfig folder.
Example configuration for block breaking:
The following sets the XP drops of all blocks to 0. Then it adds 0-10 XP for all blocks tagged #minecraft:mineable/shovel and sets the XP of blocks tagged #forge:ores to 2-5.
#Settings for block breaking
[block_breaking]
#Available operations: [SET, ADD, SUBTRACT, MULTIPLY, DIVIDE]
#List of global operations. Format: '[operation],[min],[max],[priority]'
#Global operations are run before any unique operations.
#Examples:
#'set,0,0,0' - Sets the xp of all blocks to 0.
blockBreakGlobalOperations = ["set,0,0,0"]
#List of unique operations. Format: '[block_id/tag_id],[operation],[min],[max],[priority],[is_last]'
#Examples:
#'minecraft:dirt,set,2,2,0,true' - Sets the xp drop of the dirt block to 2, takes highest priority and stops any additional operations.
#'#forge:ores,multiply,1,2,1,false' - Multiplies xp drop of all blocks tagged forge:ores by 1-2, allows additional operations.
blockBreakOperations = ["#minecraft:mineable/shovel,add,0,10,0,false", "#forge:ores,set,2,5,0,false"]
FAQ
Can I use this in my modpack?
- Yes, go for it! Just make sure to use the appropriate source for your modpack (Modrinth/CurseForge).
Will this be ported to x.x.x version?
- Feel free to open up a version port request on my issue tracker and I will see what I can do.


