DasHomi / preventer

A mod that prevents you from doing dumb things
https://modrinth.com/mod/preventer
MIT License
11 stars 7 forks source link

Prevent signs placed on chests from being modified #51

Closed 7coil closed 2 months ago

7coil commented 9 months ago

Is your feature request related to a problem? Please describe. As a user
When I accidentally right click a sign that is attached to a chest Then I should be prevented from editing the sign

Alternatively, there could also be a module for preventing sign editing in general, with the chest thing as a module config

Describe the solution you'd like

# N.B. logic slightly more advanced than pseudocode
if (block InstanceOf WallSign) and (blockBehind InstanceOf Chest):
  log("prevented sign editing")
  return FAIL
DasHomi commented 9 months ago

Sounds like a good idea, i think i'll do it as a "prevent sign editing" module with a config option that changes it to "prevent chest sign editing".

Butterkeks1000 commented 9 months ago

🤓