Skip to content

Commit

Permalink
Add spawn for Overgrown Taintacle
Browse files Browse the repository at this point in the history
Further testing may be needed.
  • Loading branch information
IcarussOne committed May 26, 2024
1 parent feda865 commit 2adea28
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.icarus.crimsonrevelations.compat.thaumicaugmentation;

import com.icarus.crimsonrevelations.entity.boss.EntityOvergrownTaintacle;

import net.minecraft.entity.EnumCreatureType;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import thaumcraft.common.entities.monster.tainted.EntityTaintSeed;
Expand All @@ -12,5 +14,8 @@ public static void init() {
// Extra taint mobs
EntityRegistry.addSpawn(EntityTaintSeed.class, 20, 1, 1, EnumCreatureType.MONSTER, TABiomes.TAINTED_LANDS);
EntityRegistry.addSpawn(EntityTaintSwarm.class, 10, 1, 1, EnumCreatureType.MONSTER, TABiomes.TAINTED_LANDS);

// Boss
EntityRegistry.addSpawn(EntityOvergrownTaintacle.class, 1, 1, 1, EnumCreatureType.MONSTER, TABiomes.TAINTED_LANDS);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ protected void makeChampion() {
}
}

@Override
public int getMaxSpawnedInChunk() {
return 1;
}

@Override
public boolean canBreatheUnderwater() {
return true;
Expand All @@ -135,6 +140,7 @@ public IEntityLivingData onInitialSpawn(DifficultyInstance diff, @Nullable IEnti
return super.onInitialSpawn(diff, data);
}

@Override
public boolean isNonBoss() {
return false;
}
Expand Down

0 comments on commit 2adea28

Please sign in to comment.