mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Expanded DungeonHooks to allow for adding of custom DungeonLoot values directly, allowing for better control over the generated items.
This commit is contained in:
1 parent
33a6ec9a70
commit
92923a3521
1 file changed
+11
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user