mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-20 04:28:04 +01:00
feat: Guardians
This commit is contained in:
1 parent
c7127b219d
commit
61b6e6adca
32 files changed
+1154
-23
No files matched your search
@@ -846,9 +846,16 @@ vector<Biome::MobSpawnerData *> *RandomLevelSource::getMobsAt(MobCategory *mobCa
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
if (mobCategory == MobCategory::monster && scatteredFeature->isSwamphut(x, y, z))
|
||||
if (mobCategory == MobCategory::monster)
|
||||
{
|
||||
return scatteredFeature->getSwamphutEnemies();
|
||||
if (scatteredFeature->isSwamphut(x, y, z))
|
||||
{
|
||||
return scatteredFeature->getSwamphutEnemies();
|
||||
}
|
||||
if (oceanMonument->isInsideFeature(x, y, z))
|
||||
{
|
||||
return oceanMonument->getMonumentEnemies();
|
||||
}
|
||||
}
|
||||
return biome->getMobs(mobCategory);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user