Class CommandDrop
java.lang.Object
io.lumine.utils.collections.AWeightedItem
io.lumine.mythic.core.drops.Drop
io.lumine.mythic.core.drops.droppables.CommandDrop
- All Implemented Interfaces:
ICommandDrop
,IDrop
,Cloneable
,Comparable<io.lumine.utils.collections.AWeightedItem>
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected PlaceholderString
Fields inherited from class io.lumine.utils.collections.AWeightedItem
weight
-
Constructor Summary
ConstructorDescriptionCommandDrop
(String line, MythicLineConfig config) CommandDrop
(String line, MythicLineConfig config, double amount) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatchCommand
(AbstractPlayer target, DropMetadata data, double amount) Methods inherited from class io.lumine.mythic.core.drops.Drop
addAmount, clone, equals, hashCode, rollAmount, rollChance
Methods inherited from class io.lumine.utils.collections.AWeightedItem
compareTo, getWeight
-
Field Details
-
command
-
asCaster
protected boolean asCaster -
asTrigger
protected boolean asTrigger -
asOperator
protected boolean asOperator
-
-
Constructor Details
-
CommandDrop
-
CommandDrop
-
-
Method Details
-
dispatchCommand
- Specified by:
dispatchCommand
in interfaceICommandDrop
-