@@ -853,7 +853,6 @@ else if (time >= 12500) {
853853 // @returns ElementTag
854854 // @description
855855 // Returns the current value of the specified gamerule in the world.
856- // Note that the name is case-sensitive... so "doFireTick" is correct, but "dofiretick" is not.
857856 // -->
858857 registerTag (ElementTag .class , "gamerule" , (attribute , object ) -> {
859858 if (!attribute .hasParam ()) {
@@ -992,7 +991,7 @@ else if (time >= 12500) {
992991 // @description
993992 // Returns whether enough players are sleeping to prepare for the night to advance.
994993 // Typically used before checking <@link tag WorldTag.enough_deep_sleeping>
995- // By default, automatically checks the playersSleepingPercentage gamerule,
994+ // By default, automatically checks the players_sleeping_percentage gamerule,
996995 // but this can optionally be overridden by specifying a percentage integer.
997996 // Any integer above 100 will always yield 'false'. Requires at least one player to be sleeping to return 'true'.
998997 // -->
@@ -1013,7 +1012,7 @@ else if (time >= 12500) {
10131012 // @description
10141013 // Returns whether enough players have been in bed long enough for the night to advance (generally 100 ticks).
10151014 // Loops through all online players, so is typically used after checking <@link tag WorldTag.enough_sleeping>
1016- // By default, automatically checks the playersSleepingPercentage gamerule,
1015+ // By default, automatically checks the players_sleeping_percentage gamerule,
10171016 // but this can optionally be overridden by specifying a percentage integer.
10181017 // Any integer above 100 will always yield 'false'. Requires at least one player to be sleeping to return 'true'.
10191018 // -->
@@ -1514,7 +1513,7 @@ else if (time >= 12500) {
15141513 // @input None
15151514 // @description
15161515 // Skips to the next day as if enough players slept through the night.
1517- // NOTE: This ignores the doDaylightCycle gamerule!
1516+ // NOTE: This ignores the advance_time gamerule!
15181517 // -->
15191518 tagProcessor .registerMechanism ("skip_night" , false , (object , mechanism ) -> {
15201519 // general logic from NMS world tick
0 commit comments