KubeJS Create

KubeJS Create

24M Downloads

Fabric - Fluid amount is bugged [SOLVED]

MaDo15 opened this issue ยท 2 comments

commented

When I wanted to create this recipe, the Fluid amount was not 250 mb.

    event.recipes.createMixing('minecraft:coal', [
        'kubejs:raw_coal',
        Fluid.of('water',250)
      ])

2023-05-24_18 11 56

commented

Not really an issue; Fabric uses 81000 for bucket amounts by default, so you'll have to multiply your values by 81. This should still be documented better, though, or we should add a constant MILLIBUCKET / BUCKET / whatever to KubeJS itself

commented

Ah, thanks. Yeah in forge it is different.

Not really an issue; Fabric uses 81000 for bucket amounts by default, so you'll have to multiply your values by 81. This should still be documented better, though, or we should add a constant MILLIBUCKET / BUCKET / whatever to KubeJS itself