Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings

Structure Restrictions

Allows modification of some gameplay aspects within structures (f.e. mining/placing blocks) via datapacks

7
0
Game Mechanics
Library
Utility
AboutChangelogVersions

Requires Fabric API

Allows modification of some gameplay aspects within structures (f.e. mining/placing blocks) via datapacks

Mod is required on both server and client.


Datapacks:

All info in readme file.

Additional things:

  • blocks get placed_by_player property, which is true when block was placed by player
  • status effects disabled by status_effect restriction are saved to inactiveStatusEffects which are displayed in inventory (their icons are transparent)
  • structures are being ticked once every 1.5s and only if there is at least one player inside

Known issues:

  • structure effects can be removed with milk bucket
  • some blocks doesn't have placed_by_player property due to block property limit
  • some blocks may change their placed_by_player property value in inappriopriate way (pistons for example)
  • structure detection delay can be abused

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.20–1.20.1

Platforms

Fabric

Supported environments

Client and server

Links

Report issues View source
Donate on PayPal

Creators

Xires87
Xires87 Member

Details

Licensed MIT
Published last week
Updated 2 weeks ago

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.