Expanded DungeonHooks to allow for adding of custom DungeonLoot values directly, allowing for better control over the generated items.
This commit is contained in:
parent
33a6ec9a70
commit
92923a3521
1 changed files with 11 additions and 1 deletions
|
@ -262,7 +262,17 @@ public class DungeonHooks
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void addDungeonLoot(DungeonLoot loot)
|
||||
{
|
||||
dungeonLoot.add(loot);
|
||||
}
|
||||
|
||||
public boolean removeDungeonLoot(DungeonLoot loot)
|
||||
{
|
||||
return dungeonLoot.remove(loot);
|
||||
}
|
||||
|
||||
static
|
||||
{
|
||||
addDungeonMob("Skeleton", 100);
|
||||
|
|
Loading…
Reference in a new issue