@@ -19,6 +19,9 @@ public class ExplorersMapConfig {
1919 .append (new KeyedCodec <>("GenerationRate" , Codec .INTEGER ),
2020 ExplorersMapConfig ::setGenerationRate ,
2121 ExplorersMapConfig ::getGenerationRate ).add ()
22+ .append (new KeyedCodec <>("MinZoom" , Codec .FLOAT ),
23+ ExplorersMapConfig ::setMinZoom ,
24+ ExplorersMapConfig ::getMinZoom ).add ()
2225 // This does not work right now
2326 /*.append(new KeyedCodec<>("UnlimitedPlayerTracking", Codec.BOOLEAN),
2427 ExplorersMapConfig::setUnlimitedPlayerTracking,
@@ -30,6 +33,7 @@ public class ExplorersMapConfig {
3033 private int diskLoadRate = 16 ;
3134 private int generationRate = 20 ;
3235 private boolean unlimitedPlayerTracking = true ;
36+ private float minZoom = 8 ;
3337
3438 public void setExplorationRadius (int explorationRadius ) {
3539 this .explorationRadius = explorationRadius ;
@@ -70,4 +74,12 @@ public void setUnlimitedPlayerTracking(boolean unlimitedPlayerTracking) {
7074 public boolean isUnlimitedPlayerTracking () {
7175 return unlimitedPlayerTracking ;
7276 }
77+
78+ public void setMinZoom (float minZoom ) {
79+ this .minZoom = minZoom ;
80+ }
81+
82+ public float getMinZoom () {
83+ return minZoom ;
84+ }
7385}
0 commit comments