ConfigJS
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.0.3
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/configjs
资源信息
Minecraft 版本: 1.20.1
平台: forge neoforge
标签: cursed utility
资源介绍
Adds the ability to create custom Forge toml config files through KubeJS scripts, see the wiki for specifics and usage
An example of creating a common config file:
ConfigsEvent.common(event => {
event.setName('My Very Cool Config File')
event.push('debug')
event.comment('Determines how many particles should be spawned around the player in debug mode')
global.debugParticleCount = event.intValue('numberOfParticles', 0, 0, 20)
event.comment('Determines if debug mode is enabled')
global.debugEnabled = event.booleanValue('enabled', false)
event.pop()
event.comment('be wild!')
global.selector = event.enumValue('selectorType', 'basic', ['basic', 'advanced', 'supreme'])
})
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~