Structure Restrictions
This mod allows you to configure various game mechanics within Minecraft structures using datapacks. You can restrict or modify actions such as block placement and destruction, apply status effects, and much more within specially designated areas.
Requirements: Fabric API is required for operation. The modification must be installed on both the server and the client.
Datapack Capabilities
Detailed instructions for creating datapacks are contained in the mod documentation. You will find a complete guide for configuring all available parameters.
Additional Features
- The special
placed_by_playerproperty marks blocks that were placed by a player - Status effects disabled by restrictions are stored in
inactiveStatusEffectsand displayed in the inventory with semi-transparent icons - Structures are processed every 1.5 seconds, but only when there is at least one player inside
Known Limitations
- Some structure effects can be removed using a milk bucket
- Not all blocks support the
placed_by_playerproperty due to system limitations - For specific blocks (such as pistons), the value of the
placed_by_playerproperty may change incorrectly - The structure detection delay can be exploited