Stable Foundation

Protect your blocks with custom items, making them require multiple breaks until finally broken!

16 downloads

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_data data 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

No gallery available for this project.