Force players into Adventure mode when exploring structures or fighting mobs for an extra challenge.
Features:
When a player moves close to specific structures (e.g., Nether fortress or woodland mansion), they are sent into Adventure mode. In this mode, the player cannot directly place or break blocks, in order to avoid spoiling the structure. When they move outside again, they are returned to Survival mode.
When fighting hostile or neutral mobs (e.g., skeleton or enderman), the player is also sent into Adventure mode, to prevent them from easily escaping. Once 10 seconds have passed and the mob is no longer targeting the player, they are returned to Survival mode.
The config allows you to specify which and how structures create these "zones", including how much area they cover. By default, only certain challenging structures are whitelisted, but you can add or remove structures as you see fit.
Also check out my other mod, Adventure Mode Adjust, which lets you customize which blocks can be placed and broken in Adventure mode, using regular expressions!

