promotional bannermobile promotional banner

VineryJS

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

screenshot1.png

Description

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

The VineryJS Team

profile avatar
  • 2
    Projects
  • 1.6K
    Downloads

More from MidnightKittens