terrarium-earth / Cadmus

A land claiming mod that allows users to claim land to protect your home from thieves, bandits and monsters, and admins to claim land with region flags and advanced protection!
MIT License
21 stars 11 forks source link

[Feature Request]: A tag for blocks that may always be interacted with #15

Closed Jamalam360 closed 1 year ago

Jamalam360 commented 1 year ago

Is your feature request related to a problem?

I would like to permanently whitelist gravestones block as usable in all claims

Solution(s)

A block tag that datapacks can add blocks to, for modpack creators

Describe alternatives you've considered

No response

Mod Version

N/A

Mod Loader Version

1.20.1

Mod Loader

Quilt

Additional context

No response

Ant-Redstone commented 1 year ago

Not only on server settings via datapacks, but get it configurable per player/claim would be perfect

So for example if a player wants to make a certain block interactible on their claim, like a specific chest (considering modded has plenty) or a specific pressure plate or button,

and maybe a second whitelist to allow breaking a certain block?

AlexNijjar commented 1 year ago

Added allows_claim_interactions as a block and entity tag. Any blocks/entities in these tags will always be intractable regardless if they're in a claim or not. Will look into the second suggestion.