Macrocosm
0.5.2-alpha
jvm
Macrocosm
/
space.maxus.macrocosm.loot
/
Drop
Drop
abstract
class
Drop
(
val
rarity
:
DropRarity
,
val
chance
:
Double
,
val
item
:
Identifier
,
var
amount
:
IntRange
)
:
Chance
(
source
)
Inheritors
VanillaDrop
MacrocosmDrop
VisualDrop
Members
Constructors
Drop
Link copied to clipboard
constructor
(
rarity
:
DropRarity
,
chance
:
Double
,
item
:
Identifier
,
amount
:
IntRange
)
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