public class CommandDrop extends Drop implements IIntangibleDrop
Modifier and Type | Field and Description |
---|---|
protected boolean |
asCaster |
protected boolean |
asOP |
protected PlaceholderString |
command |
Constructor and Description |
---|
CommandDrop(String line,
MythicLineConfig config) |
CommandDrop(String line,
MythicLineConfig config,
double amount) |
Modifier and Type | Method and Description |
---|---|
void |
giveDrop(AbstractPlayer target,
DropMetadata data) |
addAmount, clone, equals, getDrop, hashCode, rollAmount, rollChance
protected PlaceholderString command
protected boolean asCaster
protected boolean asOP
public CommandDrop(String line, MythicLineConfig config)
public CommandDrop(String line, MythicLineConfig config, double amount)
public void giveDrop(AbstractPlayer target, DropMetadata data)
giveDrop
in interface IIntangibleDrop
Copyright © 2020. All rights reserved.