LootJS: KubeJS Addon

LootJS: KubeJS Addon

8M Downloads

wrong info in wiki pool(callback)

Strange05 opened this issue ยท 1 comments

commented

Minecraft Version

1.20.1

Mod Version

1.20.1-2.11.0

Describe the bug!

In the pool(callback) example, has:

Example: [1, 3] is the number provider with 3 min and 10 max rolls. LootJS will randomly select a value between min and max.

but in addWeightedLoot(NumberProvider, [...items]) or addWeightedLoot([...items])
has:

Example: [3, 10] is the number provider with 3 min and 10 max rolls. LootJS will randomly select a value between min and max.

In the last the numbers match but the pool one doesn't make much sense.

Crash Report

No response

Log

No response

Additions and Modifications

No

Additions and Modifications Description

No response

Did the issue happen in singleplayer or on a server?

Singleplayer

commented

Updated. Thank u