Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Supported environments
Creators
Details
Licensed ARR
Published 2 months ago
Updated 2 months ago
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"]