
Server Datapack Helper
📖 What is this mod?
A mod that significantly simplifies the creation of server-side datapacks, adding functionality for working with NBT, custom behavior, and tracking player actions.
🕹️ Usage
Installing the mod is extremely simple! Just place it in the mods folder along with Fabric API and you can start playing.
✅ Scoreboard Features
🖱️ Mouse Click Detection
The system tracks various types of player interactions:
- Clicks on blocks (right and left)
- Clicks on entities (right and left)
- Object usage (right click)
Control is managed through scoreboards:
- right_click
- left_click
- attack_block
- attack_entity
- use_block
- use_entity
- use_item (requires an item in hand)
📦 Main Features
FireProof - protection of items and entities from fire (boolean type)
ExplosionProof - resistance to explosions (boolean type)
MagmaProof - protection from magma (boolean type)
FreezeDamage - changes standard freeze damage in powder snow to the sum of values of all equipped items (float type)
MagmaDamage - changes standard magma damage to the sum of values of all equipped items (float type)
PowderSnowWalk - ability to walk on powder snow (boolean type)
AntiFreeze - adding this tag to an item prevents freezing in powder snow when equipped (boolean type)
PiglinSafe - piglins will not attack the owner of the equipped item (like golden armor). Works with entity tags (boolean type and entity tag)
EndermanSafe - endermen will not attack when stared at directly if an item with this tag is equipped (like a pumpkin). Works with entity tags (boolean type and entity tag)
CanPickUp - endermen with NBT data {CanPickUp:["minecraft:bedrock"]} can pick up specified blocks, ignoring JSON files (NBT string list)
CantPickUp - endermen with NBT data {CantPickUp:["minecraft:grass_block"]} cannot pick up specified blocks, ignoring JSON files (NBT string list)
CreeperIgnore - creepers ignore the owner of the equipped item (but can explode if approached too closely) (boolean type)
CreeperSafe - creepers do not explode in front of the owner of the equipped item (but continue to pursue) (boolean type)
CustomDamage - adding fully functional custom maximum durability for any items (currently has some visual bugs) (integer type)
ProjectileType - adding this tag to shooting items: any fired projectile will receive the tag value. Also works with entities: /summon skeleton ~ ~ ~ {ProjectileType:Test} (string type and entity NBT)
And much more in the future!
📋 Planned
Further expansion of the mod's functionality.