Closed Gilly7CE closed 1 year ago
Would it be better to have just mobSpawningInOverworld
, mobSpawningInNether
, and mobSpawningInEnd
with a default value of true?
Would it be better to have just
mobSpawningInOverworld
,mobSpawningInNether
, andmobSpawningInEnd
with a default value of true?
The standard definitions for rules is that they modify the vanilla behaviour, so they’re always by default false
. If we make the default behaviour true
and use the rule names as you mention then that would break the pattern and it would read as carpet rules are enabled, which would technically be not the case. “disable” is explicitly clear what we intend.
A few rules in base carpet are true by default like creativePlayersLoadChunks
, fillUpdates
, interactionUpdates
, and many more in rule expansion mods. So I don't think it would be that bad to have them true by default. I generally prefer the enable rules over disable ones, but a default value of false is ok.
As for the name, the default carpet rules that disable a vanilla feature when true seem to be in the format of ...Disabled
(antiCheatDisabled
, liquidDamageDisabled
). Should this format be used for these rules too?
A few rules in base carpet are true by default like
creativePlayersLoadChunks
,fillUpdates
,interactionUpdates
, and many more in rule expansion mods. So I don't think it would be that bad to have them true by default. I generally prefer the enable rules over disable ones, but a default value of false is ok.As for the name, the default carpet rules that disable a vanilla feature when true seem to be in the format of
...Disabled
(antiCheatDisabled
,liquidDamageDisabled
). Should this format be used for these rules too?
Good points. However, we already have rules which start with disable…
and consistency within the mod itself is also an important consideration
Proposed rule name
Three rules:
disableMobSpawningInOverworld
disableMobSpawningInNether
disableMobSpawningInEnd
Describe rule
Mob spawning can be disabled in its entirety per dimension. Could be useful for creative testing of farms without disabling mob spawning as a whole with the gamerule. These should be given the
CREATIVE
category.Options for rule
true
orfalse
(default)