Block Skills
This library allows creating skill-based restrictions on how players interact with blocks through KubeJS scripts. The mod works similarly to Ore Stages but focuses specifically on blocks.
Main Features
The mod extends Player Skills functionality by creating and using skill-based restrictions. By default, the following restriction types are available:
- Restricting the ability to mine blocks
- Restricting the use of blocks
- Controlling loot drops when mining
- Masking blocks in the world by replacing them with air or other blocks
For example, you can make diamond ore appear and drop as regular stone until the player reaches a certain skill level.
Important Note
Due to how events are processed, KubeJS BlockEvents.rightClicked events only trigger for the original block. Make sure to use the same player.can() or player.cannot() restrictions in all skill change handlers related to block interactions.
For Modpack Developers
The mod was specifically designed for modpack developers and can be freely used without additional permissions.