IProp
此功能需在配置文件中将 B:Prop
修改为 true
才可使用
此功能为 CraftTweaker
提供了一种全局 (可跨存档) 的数据存储方式, 由键值 (key-value) 对应存储, 其保存的位置位于 .minecraft/rt.properties
Import
如果你想使用此功能, 务必导包
Static ZenMethod
方法名 | 返回值类型 | 方法作用 |
---|---|---|
write(key as string, value as string) |
| 将 |
read(key as string) |
| 返回通过 |
getAllKeys() |
| 返回文件中所有的 |
Example
此时你的 rt.properties
应该是这样的
Last updated