Macrocosm
0.5.2-alpha
jvm
Macrocosm
/
space.maxus.macrocosm.loot
/
MacrocosmDrop
Macrocosm
Drop
class
MacrocosmDrop
(
val
item
:
Identifier
,
val
rarity
:
DropRarity
,
val
chance
:
Double
,
var
amount
:
IntRange
=
1..1
)
:
Drop
(
source
)
Members
Constructors
Macrocosm
Drop
Link copied to clipboard
constructor
(
item
:
Identifier
,
rarity
:
DropRarity
,
chance
:
Double
,
amount
:
IntRange
=
1..1
)
Functions
clone
Link copied to clipboard
fun
clone
(
)
:
Drop
drop
Rngesus
Reward
Link copied to clipboard
fun
dropRngesusReward
(
player
:
MacrocosmPlayer
)
:
ItemStack
Properties
amount
Link copied to clipboard
var
amount
:
IntRange
chance
Link copied to clipboard
open
override
val
chance
:
Double
item
Link copied to clipboard
val
item
:
Identifier
rarity
Link copied to clipboard
val
rarity
:
DropRarity