Compatibility
Minecraft: Java Edition
26.2
Platforms
Supported environments
Client and server
Links
Tags
Creators
Details
Licensed MIT
Published 10 hours ago
Updated last week
Alpha release, expect bugs! This mod allows datapackers/modders to add custom items that can add protection to blocks from explosions, pistons, and players. Every time something tries to break it, the protection goes down by one until no more protection is left, then it acts as a normal block.
The object has 3 fields:
- adds: how much protection it adds
- min: optional, to apply with this item, existing protection must be at least this value
- max: optional, to apply with this item, existing protection must be at most this value
In the serverside mod, it uses
custom_datadata component in the format:diamond[custom_data={"strong_foundation:protection":{"adds":2}}]While in the common side mod, it uses its own data component:diamond[strong_foundations:protection={adds:1,max:2}]This idea was heavily inspired by CivCraft Bastion
Check out my other mod! https://modrinth.com/mod/hopeful-enchanting

