Even more 1.13 things

This commit is contained in:
ZeroEpoch1969
2018-07-25 22:22:19 -07:00
parent 3c46df0082
commit 551a0b2317
4 changed files with 21 additions and 6 deletions

View File

@ -36,6 +36,7 @@ public class GameRuleHandler extends FreedomService
setGameRule(GameRule.COMMAND_BLOCK_OUTPUT, false);
setGameRule(GameRule.NATURAL_REGENERATION, true, false);
setGameRule(GameRule.KEEP_INVENTORY, true, false);
setGameRule(GameRule.ANNOUNCE_ADVANCEMENTS, false, false);
commitGameRules();
}
@ -94,7 +95,8 @@ public class GameRuleHandler extends FreedomService
DO_TILE_DROPS("doTileDrops", true),
COMMAND_BLOCK_OUTPUT("commandBlockOutput", true),
NATURAL_REGENERATION("naturalRegeneration", true),
DO_DAYLIGHT_CYCLE("doDaylightCycle", true);
DO_DAYLIGHT_CYCLE("doDaylightCycle", true),
ANNOUNCE_ADVANCEMENTS("announceAdvancements", false);
//
private final String gameRuleName;
private final boolean defaultValue;