Kzeroko KTM2

Peaceful structures

Keep natural mobs out of selected structures and a configurable buffer around their bounds.

Updated Nov 7, 2026 3 min read

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 IDExtra rangeBlock protection
isekaiexpansion:respawn_temple16 blocksEnabled by default
isekaiexpansion:adventurers_guild16 blocksEnabled by default
isekaiexpansion:world_portal_ruins16 blocksEnabled 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

SourceInside a peaceful area
Natural spawning and chunk generationBlocked for all mob groups
Structure spawning, patrols, reinforcements and jockeysBlocked
Commands, spawn eggs, spawners and authored eventsKeep their own rules
Existing mobs, breeding and incoming travellersKeep 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"
  ]
}
OptionTypeDefaultWhat it does
peacefulStructuresarray<string>The three entries aboveBlocks natural spawns in listed structures. An empty list or null disables these configurable exclusions. Omitting the option uses the default list.
Entry partTypeRequiredMeaning
Structure IDidentifierYesA registered structure with an explicit namespace, such as isekaiexpansion:world_portal_ruins. Tags are not accepted.
RangeintegerYes0–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.

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.