Domain

Landing Claiming & Protection

View on GitHub

Domain

Spawner

Home - Back to FAQ

Why would I use a spawner field instead of a mob spawner?

Domain Spawner fields offer more flexibility and security to mob spawning than a standard mob spawner.

How do I use one?

First, you need to create a Spawner field. There are 2 included in the default files that you can use, or you can modify the defaults to suit your own purposes

Once a spawner block has been created, make sure that the proper limits are set for the player placing it (domain.BLOCK_KEY.limit.MAX_NUMBER)

The field can now be placed like any other Domain field. Note that the SPAWN flag MUST be on the field in order for it to work. It is recommended that it is included, but set to false, allowing the player to turn the field on when they are ready. This could be especially important with hostile mob spawning.

NOTE: It is recommended to allow the block to be placed outside of the field - this will allow the player to turn the field on/off as needed without putting themselves at unnecessary risk.

How do I set up the spawner in the block configuration?

View the block configuration instructions here which explains each required field

No mobs are spawning!

For the mob spawner to work, several conditions must be met.

I checked all that and it STILL isn’t working!

Turn on debug mode and check the console.

NOTE: Debug mode will spam your console - be sure to turn it off again after about a minute

/domain debug