diff options
author | lucko <git@lucko.me> | 2024-07-21 12:44:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-21 12:44:06 +0100 |
commit | b78afab85ee15d809ea4ff0ccb14c2b263ede860 (patch) | |
tree | d3d987473aee0b1e71ac6a24ea2f692be78bf14b /spark-common/src/main/proto/spark/spark.proto | |
parent | 635800af986351f08dba33aa2e8ec5dd691bbffb (diff) | |
download | spark-b78afab85ee15d809ea4ff0ccb14c2b263ede860.tar.gz spark-b78afab85ee15d809ea4ff0ccb14c2b263ede860.tar.bz2 spark-b78afab85ee15d809ea4ff0ccb14c2b263ede860.zip |
Include gamerule settings in metadata (#425)
Diffstat (limited to 'spark-common/src/main/proto/spark/spark.proto')
-rw-r--r-- | spark-common/src/main/proto/spark/spark.proto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spark-common/src/main/proto/spark/spark.proto b/spark-common/src/main/proto/spark/spark.proto index 53750d7..6ffd4e9 100644 --- a/spark-common/src/main/proto/spark/spark.proto +++ b/spark-common/src/main/proto/spark/spark.proto @@ -140,6 +140,7 @@ message WorldStatistics { int32 total_entities = 1; map<string, int32> entity_counts = 2; repeated World worlds = 3; + repeated GameRule game_rules = 4; message World { string name = 1; @@ -158,6 +159,12 @@ message WorldStatistics { int32 total_entities = 3; map<string, int32> entity_counts = 4; } + + message GameRule { + string name = 1; + string default_value = 2; + map<string, string> world_values = 3; + } } message WindowStatistics { |