HomeJavaModsVineryJS
VineryJS
VineryJS — screenshot 1

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?
})
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more