Peaceful structures
Keep natural mobs out of selected structures and a configurable buffer around their bounds.
Peaceful structures stop new natural mobs, including animals, inside their horizontal bounds and a surrounding buffer. The default buffer is 16 blocks at every height, so caves below and air above the structure are included. Existing mobs can still enter, move and fight there.
Default areas
| Structure ID | Extra range | Block protection |
|---|---|---|
isekaiexpansion:respawn_temple | 16 blocks | Enabled by default |
isekaiexpansion:adventurers_guild | 16 blocks | Enabled by default |
isekaiexpansion:world_portal_ruins | 16 blocks | Enabled by default |
The peaceful list starts with every structure in the default protected list. The two lists are independent after configuration: adding a protected structure does not automatically add a peaceful entry. Removing a peaceful entry does not remove its block protection.
Bounds and range
Each generated structure uses its complete bounding rectangle, including the space between its pieces. The range expands all four horizontal sides, including the corners. Boundaries are inclusive: a range of 16 includes the block 16 blocks beyond a side; the next block is outside. A range of 0 keeps only the structure footprint. Overlapping peaceful areas combine.
This uses generated structure starts, not individual portal blocks or a template pasted without a recorded structure start. All dimensions use the same configured IDs. Existing worlds use their saved structure bounds; opening a world does not remove existing entities.
Outside the buffer, ordinary live spawn chances rise over the next 32 blocks. At 16 blocks the boundary multiplier is 50%. The same multiplier scales the local monster cap, rounded up. Overlapping edges use the nearest protected footprint.
Spawn rules
| Source | Inside a peaceful area |
|---|---|
| Natural spawning and chunk generation | Blocked for all mob groups |
| Structure spawning, patrols, reinforcements and jockeys | Blocked |
| Commands, spawn eggs, spawners and authored events | Keep their own rules |
| Existing mobs, breeding and incoming travellers | Keep their own rules |
These areas add to the existing landmark, dungeon and Remote Sky Garden restrictions. A peaceful structure does not grant building permission or change the world’s difficulty.
Server configuration
Edit peacefulStructures in the server’s structures config category. Each string contains one explicit structure ID, one comma and a range in whole blocks. The complete default list is:
{
"peacefulStructures": [
"isekaiexpansion:respawn_temple,16",
"isekaiexpansion:adventurers_guild,16",
"isekaiexpansion:world_portal_ruins,16"
]
}
| Option | Type | Default | What it does |
|---|---|---|---|
peacefulStructures | array<string> | The three entries above | Blocks natural spawns in listed structures. An empty list or null disables these configurable exclusions. Omitting the option uses the default list. |
| Entry part | Type | Required | Meaning |
|---|---|---|---|
| Structure ID | identifier | Yes | A registered structure with an explicit namespace, such as isekaiexpansion:world_portal_ruins. Tags are not accepted. |
| Range | integer | Yes | 0–128 blocks beyond the horizontal bounds, at every height. Use a comma before this value. |
Spaces around either part are accepted. Missing parts, semicolons, extra commas, unknown structures, negative numbers, fractional values and ranges above 128 produce a warning and skip that entry. Duplicate IDs use the largest valid range. If every entry is invalid, this list excludes no spawns.
The server owns this setting; changing a remote client’s config does not affect its server. Restart after editing the config file. When the server’s loaded list changes, the next query rebuilds its settings and bounds cache. A successful data-pack reload clears the cache; /reload alone does not read an edited config file.
Related systems
See World Gates for travel, natural spawning for encounter pools and protected zones for the implementation and block-protection rules. Structure geometry comes from the world’s recorded starts; this feature adds no save-data format or legacy config aliases.