execute if score .ismobmodification const matches 1.. run return run function gamerules:ismobmodification/false
execute unless score .ismobmodification const matches 1.. run return run function gamerules:ismobmodification/true