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