gbl / ClickThrough

MIT License
17 stars 13 forks source link

Ignore signs without a container behind it #4

Closed Toseflo closed 3 years ago

Toseflo commented 3 years ago

We have many ServerSigns on our server and it's a bit problematic that I have to sneak every time I want to activate a ServerSign. But I think this could be fixxed if you would ignore signs without a container behind it. Most ServerSigns don't have a container behind them, so just retaining normal right click functionality when there isn't a container present would probably help.

gbl commented 3 years ago

Doing this unconditionally would break compatibility with all other mods that add containers, and stuff that isn't a container but has a right-click action, like noteblocks, jukeboxes, ... - so it would have to be a config option.

Isn't there any way to distinguish your ServerSigns from others, like a certain keyword in a certain row, that you can add to the exception list?

Toseflo commented 3 years ago

The problem is that ServerSigns can have custom text, so distinguishing them sadly shouldn't be possible. And yes a config option would be great ^^

gbl commented 3 years ago

Done in version 0.4 which I just published.