promotional bannermobile promotional banner
header
Harder Spawners avatar

Harder Spawners

Install
Bisect Affiliation Link
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image
item image
item image
item image
item image
item image
  • screenshot thumbnail
  • screenshot thumbnail
  • screenshot thumbnail
  • screenshot thumbnail
  • screenshot thumbnail

Description

This mod allows you to prevent players from rushing and lighting spawners to shut them down easily.  This makes dungeons harder and more exciting.

This mod also provides you the option to change the behavior of standard spawners so that they have a less reliable life span and may even explode.

Default Behavior

By default, Harder Spawners take about as long to break as Obsidian.

By default, animal and Blaze spawners will not fail.

By default, Spawners will explode a third of the time when they fail.  You can increase or reduce this.

By default, the spawner will break any bright block placed near it and block placing any bright liquid near it (with a extinguishing sound effect).

By default, when they are close to failing they will begin to sputter and smoke.  Near the end, they can be temporarily repaired for 5 more spawns with an Iron Block.  This is set to showcase the feature but is expected to be turned off or increased to 100 or more extra spawns.  The server operator or Modpack designer can set other, rarer items to be the repair item.

Spawners can be configured to be stunned for 1 to 27 minutes instead of destroyed.  The 27 minutes is a hard limit from Minecraft.


Spawners can take Revenge (Sweet Revenge) on players trying to destroy them.   The Spawner's Revenge stops 2 seconds after player stops trying to break the spawner or the spawner is stunned or destroyed.

Revenge Levels

Spawners will poison, wither or wither and blind players trying to break them.  The default is poison 1.

1-3 Poison 1-3

4-6 Wither 1-3

7-11 Wither 1-5 + Blindness

Versions 1.21.1 and newer

Spawner Durability is a random value between minimum and maximum durability for that type of creature.
There is a default durability of 50 to 500 for undefined creature types.
A spawner with minimum and maximum durability of 0 has an infinite durability
The default repair item is an Iron Block.   It will only repair 10 durability.


["Default Mob Spawner Durability and Durability Repair Values"]
    #Item used to repair spawner Durability (format: 'modid:item_name')
    durabilityRepairItem = "minecraft:iron_block"
    #How much spawn durability the repair item adds.  0 = off
    #Range: 0 ~ 1000
    "durabilityRepairAmount " = 10
    #Default Mob Spawner Durability Ranges
    defMobSpawnerDurabilityRanges = "harderspawners:default,50,500;minecraft:pig,0,0;minecraft:cow,0,0;minecraft:sheep,0,0;minecraft:parrot,0,0;minecraft:zombie,100,550;minecraft:blaze,0,0;"

Also, Spawners have toughened up and are now immune to explosions.

They can also be repaired when they are close to failing.   A display of the repair item will appear over the spawner with the words, "Add Durability".   Right click that item on the Spawner and they will be repaired.

The default for this is an Iron Block for 5 more spawns.   The intent is that the modpack designer or server operator will choose some item and let it repair the spawner for 100 or more extra spawns.

In 1.21.5, Harder Spawners supports about a dozen world languages in the "Add Durability" title and also in the subtitles saying the spawner is wailing as it is destroyed.

Versions 1.20.6 and older

Spawners will last an average of 250 spawns ( about 4 hours) before failing.  You can increase or reduce this.  Keep in mind spawners will run when players are a dungeon level above them in multi level dungeons.

Configuration

["No Break Mobs Values 6464"]

#Trail Block String 6464 defaultNoBreakMobsActual =  ( Note: "break" here refers to the spawner failing not to breaking the spawner )

"harderspawners:default,0.2;

minecraft:pig,0.0;

minecraft:cow,0.0;

minecraft:sheep,0.0;

minecraft:parrot,0.0;

minecraft:blaze,0.0;"

Format: Name, % chance of breaking.  So the default is 0.2 which is 0.2% (1/500).  If you set it to 2.0 that would be 2%.

Example: Of setting a blaze spawner to break once every 5,000 spawners (about 80 hours average but random so could happen on any given spawn)

minecraft:blaze,0.02;"

Very old Configuation Notes

The configuration folder is found in the /config folder.

Before 1.16.2 version, the configuration file is in the "serverConfig" folder.

["Spawners Spawn in Light Control Values"]

#Debug Level: 0 = Off, 1 = Log, 2 = Chat+Log #Range: 0 ~ 2 debugLevel = 0

#Spawner Break Speed Modifier: 0 = Off, 1 = 50% slower, 2-11 times slower. #Range: 0 ~ 11

spawnerBreakSpeedMultiplier = 4

#Spawner Revenge Level: 0 = Off, Over 1 spawner takes revenge on player. #Range: 0 ~ 11

spawnerRevengeLevel = 1

#Explode percentage when Spawners Break #Range: 0.0 ~ 100.0

spawnersExplodePercentage = 33.0

Version 19 ( Minecraft versions 18.1+ )

Adds the ability to configure hostile mob spawners to control:

required player range from spawner between 8 meters (8 is vanilla) and 32 meters away. (default is 12)

maxNearbyEntities between 4 and 32 nearby mobs (6 is vanilla) (default is 8)

spawnRange spawn range from spawner between 4 meters (4 is vanilla) and 16 meters away (default is 9)

maximum light level between 0 and 15 (8 is vanilla.  0 would stop all cages from spawning ever.   15 allows spawning in full daylight). default is 9 meters

seconds of resistance to burning in daylight (and to drowning) between 0 and 9999 seconds.  (note zombies don't actually drown- they convert to drowned).  default is 120 seconds.

Version 25.1 (Minecraft versions 1.19.4, 1.20.X)
spawnerMinutesStunned has a value from 0 to 27 minutes.   If 0, spawner breaks and is not stunned.  If 1-27, spawner is stunned for 1 to 27 minutes before next spawn.

Version 25.3 (Minecraft Versions 1.20.X)

Adds a lamp block list.   Any blocks in this list will be blocked.  By default it includes the create Rose Quartz Lamp Block.   If folks inform me of other modded lamps, I'll add them.   If their name in the code includes "_lamp" then they'll also be blocked by default.

 

FAQ

There will not be a 1.12 version of this mod.  There are lots of awesome spawner control mods there. 

But I wanted  some kind of spawner control mod for our Two Guys Modpack which is 1.16.1 so I had to write one now.

Question: Will this work with "xxxx Spawners".  If another mod is based on standard minecraft spawners, it should work.  If they have their own custom spawners, Harder Spawners will not recognize them.

 

Your suggestions welcome!

Note: There are some sneaky loopholes allowing clever players to still build mob farms- it's just harder.  So if you set all the failure chances to zero and only use it stop easy light placement. There are still ways around it.  12/16- Some of these sneaky loopholes and mods that directly setblock are addressed in the new release.

Possible Features (currently on hold during 1.19.x push for my mods)

User option to make Spawner's have higher resistance to explosions.  ( still hoping for this one but it's going to be a while).

Some kind of "Spawner Reinforcing Block" that will prevent the Spawners from failing.   

* One type would lower the chance of failure.  The reinforcing block would be consumed when prevents spawner failure.  You can control the reinforcing block is available or not.  

* One type would lower the chance of explosions.  The dampening block would turn to water when an explosion was going to occur anyway.  You can control if the dampening block is available or not.

* The reinforcing blocks would need to be placed right next to the spawner to reinforce it so you could use up to six.

If you make them available, the reinforcing blocks be expensive-- diamonds, emeralds and require rare ingredients Blue Ice, Netherite Alloy.  And optional mod:item ingredients.

Patron Supporters 

Harder Spawners is supported by Ethan Dorais and Yukina.  It's available on alternative mod loaders.

 

You can join us on our Discord Server at the link below. 

Discord Logo