Structure Restrictions

Mod

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

Client and server Game MechanicsLibraryUtility

37 downloads
0 followers
Follow Save

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

Project members

Xires87

Member

Details

Licensed MIT
Published 5 months ago
Updated 5 months ago