rebar
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
rebar
rebar
/
io.github.pylonmc.rebar.util
/
ConfettiParticle
/
Companion
/
spawnMany
spawn
Many
@
JvmStatic
@
JvmOverloads
fun
spawnMany
(
loc
:
Location
,
amount
:
Int
,
speed
:
Double
=
DEFAULT_SPEED
,
lifetime
:
Int
=
DEFAULT_LIFETIME
,
materials
:
Collection
<
Material
>
=
CONCRETES
)
:
Supplier
<
List
<
ConfettiParticle
>
>
(
source
)
@
JvmStatic
fun
spawnMany
(
loc
:
Location
,
amount
:
Int
,
minSpeed
:
Double
=
DEFAULT_SPEED
,
maxSpeed
:
Double
=
DEFAULT_SPEED
,
lifetime
:
Int
=
DEFAULT_LIFETIME
,
materials
:
Collection
<
Material
>
=
CONCRETES
)
:
Supplier
<
List
<
ConfettiParticle
>
>
(
source
)