made toreterror arena more common
made vanilla squids also spawn kraken
This commit is contained in:
1 parent
84bf436434
commit
02c487f156
7 files changed
+70
-7
No files matched your search
+5
-2
@@ -114,8 +114,11 @@ public final class AntarchyNeoForgeEvents {
|
||||
}
|
||||
|
||||
public static void onMissileSquidDeath(LivingDeathEvent event) {
|
||||
if (!(event.getEntity() instanceof MissileSquidEntity missileSquid)) return;
|
||||
if (missileSquid.isSpawnedByKraken()) return;
|
||||
if (event.getEntity() instanceof MissileSquidEntity missileSquid) {
|
||||
if (missileSquid.isSpawnedByKraken()) return;
|
||||
} else if (event.getEntity().getType() != EntityType.SQUID) {
|
||||
return;
|
||||
}
|
||||
if (!(event.getEntity().level() instanceof ServerLevel serverLevel)) return;
|
||||
|
||||
BlockPos deathPos = event.getEntity().blockPosition();
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "neoforge:add_spawns",
|
||||
"biomes": "#antarchy:octopus_bomb_spawn_biomes",
|
||||
"spawners": [
|
||||
{
|
||||
"type": "antarchy:octopus_bomb",
|
||||
"weight": 2,
|
||||
"minCount": 1,
|
||||
"maxCount": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user