跳到正文

VineryJS

Introduces two events that can be called to create or modify wines used in Let's Do: Vinery!

收藏

截图

介绍

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

The mod simply allows you to register new wine items and modify existing ones!

Modifying existing wines:

VineryJS.modifyWine(event => {
    event.modify(
        ‘vinery:mellohi_wine’,          // item id
        ‘alexsmobs:poison_resistance’,  // effect id
        2800,                           // duration in ticks
        0,                              // amplifier
        true                            // does it scale with age?
    )
})

 

Registering new wines:

In a future update this will be fully working, however it is giving me issues. You may use it, however placing down wines crashes the game, so it is disabled by default. If you wish to mess with the placing of them, there is a config option to enable it, and you’d use “.allowPlacement()”.

Some extra functions include: .itemTexture, .blockTexture, .itemParentModel, and .blockParentModel

VineryJS.registerWine(event => {
    event.create(‘kubejs:test_wine’)
        .wineName(‘TEST’)                       // display name
        .effect(‘minecraft:strength’, 3600, 1)  // effect id, duration in ticks, amplifier
        .bottleSize(‘big’)                      // size of the bottle

        .scaleWithAge()                         // does it scale with age?
})

常见问题

VineryJS 支持哪些 Minecraft 版本?

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

VineryJS 怎么安装?

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

评论

登录后评论和评分

MidnightKittens 的其他作品

查看全部 →