-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5b7ceb
commit 89e2cd3
Showing
19 changed files
with
190 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
common/src/main/java/com/possible_triangle/brazier/config/IServerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.possible_triangle.brazier.config; | ||
|
||
public interface IServerConfig { | ||
|
||
boolean injectJungleLoot(); | ||
|
||
boolean spawnCrazed(); | ||
|
||
double crazedSpawnChance(); | ||
|
||
int maxHeight(); | ||
|
||
int rangePerLevel(); | ||
|
||
int baseRange(); | ||
|
||
boolean protectAbove(); | ||
|
||
DistanceHandler.Type distanceCalculator(); | ||
|
||
boolean enableSpawnPowder(); | ||
|
||
boolean enableDecoration(); | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
common/src/main/java/com/possible_triangle/brazier/config/SyncedServerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.possible_triangle.brazier.config; | ||
|
||
public record SyncedServerConfig( | ||
boolean injectJungleLoot, | ||
boolean spawnCrazed, | ||
double crazedSpawnChance, | ||
int maxHeight, | ||
int rangePerLevel, | ||
int baseRange, | ||
boolean protectAbove, | ||
DistanceHandler.Type distanceCalculator, | ||
boolean enableSpawnPowder, | ||
boolean enableDecoration | ||
|
||
) implements IServerConfig { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
common/src/main/java/com/possible_triangle/brazier/network/ByteConfigSerializer.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.