Commit graph

13 commits

Author SHA1 Message Date
teknomunk
49bf10b6c7 Change from table indirection to getter/setter functions for dynamically updating local variables 2024-11-17 07:06:03 -06:00
teknomunk
26b16b412e Get settings GUI implemented and functional 2024-11-17 06:30:14 -06:00
teknomunk
0c258b3680 Start GUI 2024-11-17 06:30:14 -06:00
teknomunk
4c0bc279af Implement respawnBlocksExplode gamerule 2024-11-17 06:30:13 -06:00
teknomunk
814a3337f3 Add settings file 2024-11-17 06:29:41 -06:00
teknomunk
f819b31613 Add gamerule keepInventory and migrate existing setting value from mcl_keepInvetory 2024-11-17 06:26:09 -06:00
teknomunk
d8af2d4ced Implement doDaylightCycle, add on_change hook for tunables and make sure they are not called when loaded 2024-11-17 06:26:09 -06:00
teknomunk
38ed457211 Remove debug print(), add game rules maxEntityCramming, snowAccumulationHeight 2024-11-17 06:26:08 -06:00
teknomunk
fdd52bda90 Fix default value handling during set (allows bool settings to be set to false), add game rules: doMobSpawning, disableRaids, doWeatherCycle, doFireTick 2024-11-17 06:26:08 -06:00
teknomunk
387101fc8e Change API so most parameters are in a definition table, add /gamerule chatcommand, implement gamerule announceAdvancements 2024-11-17 06:26:08 -06:00
teknomunk
ee2c878160 Make awards use the notification delay setting 2024-11-17 06:26:08 -06:00
teknomunk
f1f4ebff3f Finish initial implementation of setting tuning with get/set commands 2024-11-17 06:26:08 -06:00
teknomunk
80ca5fa0c0 Start implementing dynamic rules/tuning 2024-11-17 06:26:08 -06:00