跳到正文

StaticProperties

作者:Fox2Code

Mod to modify static properties of blocks and items

收藏

截图

介绍

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

Static Properties

Mod to modify static properties of blocks and items

How does it work?

This mod works by reading config/staticproperties.txt rules at runtime and applying them to blocks and items
during initialization.

Since the data is usually not needed at runtime, any rule data loaded at memory is freed after initialization.

If rule data is needed at runtime, it can be kept by adding a #keepmemory directive.

This mod uses very minimal mixins and should be compatible with pretty much everything!

Examples

Block static properties change examples:

# Make logs require a tool to break and take longer to break
#define loglike requiresTool=true destroyTime=2.5
*_log $loglike
*_wood $loglike
*_stem $loglike
*_hyphae $loglike
# Make leaves not collide with players or entities
*_leaves hasCollision=false

Item static properties change examples:

# Change stick stack size to 128
minecraft:stick stacksTo=128
# Set diamond rarity to rare (A blue colored name when not modified by other mods)
minecraft:diamond rarity=RARE
minecraft:diamond_* rarity=RARE

Note: The max stack size is 999 unless you have another mod extending the stack size limit.

常见问题

StaticProperties 支持哪些 Minecraft 版本?

StaticProperties 支持 Minecraft Java 版 26.1–26.2,共 4 个版本,可用的加载器:Fabric / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

StaticProperties 怎么安装?

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

评论

登录后评论和评分

Fox2Code 的其他作品

查看全部 →