Skip to content

Commit

Permalink
make enigmatic graves config a default config
Browse files Browse the repository at this point in the history
This way users can change it without it being overriden when updating
  • Loading branch information
NielsPilgaard committed Jul 22, 2023
1 parent bd3ac0c commit 5300b9c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 39 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ config/darkmodeeverywhere-client.toml
config/darkmodeeverywhereshaders.json
config/eidolon-client.toml
config/emojiful-client.toml
config/enigmaticgraves-common.toml
config/entity_culling-client.toml
config/explorerscompass-client.toml
config/extremesoundmuffler-client.toml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@

#Misc Options
[misc]
#Should you get a grave finder item after you respawn?
spawnGraveFinder = true
#Set to false to disable retrieval by sneaking on top of the grave.
sneakRetrieval = true

#How the grave data is handled
[data]
#Defines how the experience should be handled when the player dies.
#DROP: Drops the xp as normal.
#REMOVE: Doesn't drop or restore the xp. Effectively removes it on death.
#KEEP_VANILLA: Stores the same amount of xp that would've been dropped normally into the grave.
#KEEP_ALL: Stores all the players xp in the graves to restore it.
#Allowed Values: DROP, REMOVE, KEEP_VANILLA, KEEP_ALL
experienceHandling = "DROP"
#Defines the amount of entries per player that can be stored to retrieve using commands.
#Once the entry count overflows, the oldest entries will be removed.
#Range: 1 ~ 99
graveEntryCount = 10

#Grave Spawn Place Handling
#The grave will first scan down from the death position until it finds a solid block to place the grave on.
#If there is no solid block below the death position, it will attempt to scan from the 'scanHeight' value
#It will scan up to +-'scanRange' in attempt to find a solid block with 2 air blocks above it to spawn the grave on.
#If it fails to find a place, it will then either:
# - Place a block at y=1 with the grave on top, if the 'scanHeight' were filled with block
# - Place a block at y='scanHeight' with the grave on top, if the 'scanHeight' were filled with air
[position]
#The scanning start position for a valid place to spawn
#Range: -64 ~ 319
scanHeight = 60
#The vertical range (up/down) from the initial position to scan for a valid spot to place a grave
#Range: -64 ~ 319
scanRange = 10
#The block that should spawn below the grave if there is none
floorBlock = "minecraft:dirt"


#Misc Options
[misc]
#Should you get a grave finder item after you respawn?
spawnGraveFinder = true
#Set to false to disable retrieval by sneaking on top of the grave.
sneakRetrieval = true

#How the grave data is handled
[data]
#Defines how the experience should be handled when the player dies.
#DROP: Drops the xp as normal.
#REMOVE: Doesn't drop or restore the xp. Effectively removes it on death.
#KEEP_VANILLA: Stores the same amount of xp that would've been dropped normally into the grave.
#KEEP_ALL: Stores all the players xp in the graves to restore it.
#Allowed Values: DROP, REMOVE, KEEP_VANILLA, KEEP_ALL
experienceHandling = "DROP"
#Defines the amount of entries per player that can be stored to retrieve using commands.
#Once the entry count overflows, the oldest entries will be removed.
#Range: 1 ~ 99
graveEntryCount = 10

#Grave Spawn Place Handling
#The grave will first scan down from the death position until it finds a solid block to place the grave on.
#If there is no solid block below the death position, it will attempt to scan from the 'scanHeight' value
#It will scan up to +-'scanRange' in attempt to find a solid block with 2 air blocks above it to spawn the grave on.
#If it fails to find a place, it will then either:
# - Place a block at y=1 with the grave on top, if the 'scanHeight' were filled with block
# - Place a block at y='scanHeight' with the grave on top, if the 'scanHeight' were filled with air
[position]
#The scanning start position for a valid place to spawn
#Range: -64 ~ 319
scanHeight = 60
#The vertical range (up/down) from the initial position to scan for a valid spot to place a grave
#Range: -64 ~ 319
scanRange = 10
#The block that should spawn below the grave if there is none
floorBlock = "minecraft:dirt"

0 comments on commit 5300b9c

Please sign in to comment.