跳到正文

XP Tools

作者:Micle

Minecraft Forge mod for tweaking various things about XP in Minecraft. Primarily targeted at modpack developers.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Banner artwork.

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.

常见问题

XP Tools 支持哪些 Minecraft 版本?

XP Tools 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

XP Tools 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Micle 的其他作品

查看全部 →