feat: Regenerating Shrines. The following config options were added:

- 'shrineRegenerationEnabled': Whether conquered shrines should regenerate after a period of time. Regeneration means wizards and loot will spawn again after a while.
      - 'shrineRegenerationTime': Time in minutes for a conquered shrine to regenerate.
      - 'shrineAllowMultipleLoot': Whether players can loot shrines multiple times. If false, each player can only loot each shrine once.
      When shrineRegenerationEnabled, Shrine chests behave a bit differently - upon defeating all wizards, the chest breaks immediately dropping or not dropping loot based on shrineAllowMultipleLoot. When shrineRegenerationEnabled, the shrine's altar block is unbreakable.
This commit is contained in:
WinDanesz
2025-08-31 17:36:54 +02:00
parent f817f06dbe
commit 5ac053ddd9
7 changed files with 330 additions and 63 deletions
+3
View File
@@ -59,6 +59,8 @@ minecraft {
// Default run configurations.
// These can be tweaked, removed, or duplicated as needed.
def argsz = ['--username', 'WinDanesz', '--user', 'WinDanesz', '--uuid', '7faee354-8c60-4f5c-9862-fc0ce5f7f575']
runs {
client {
workingDirectory project.file('run')
@@ -68,6 +70,7 @@ minecraft {
// Recommended logging level for the console
property 'forge.logging.console.level', 'info'
args argsz
}
server {