Structure Restrictions

Quick rating

Community listing page, reviews here may not be monitored by the author.

Structure Restrictions

By Xires87Owner

No reviews yet

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

Mod Loaders
Minecraft

About

Description

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

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