config: spells and shields

This commit is contained in:
Snogard 2025-02-09 23:14:20 +01:00
parent 3dd1f836f0
commit 4fb1f576ed
2 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,52 @@
[mana]
#Hide the mana bar if it has not changed for the set amount of time (in ticks, 1 second = 20 ticks). Set to 0 to always have it visible.
#Range: 0 ~ 1200
hideDelay = 0
#Put the mana bar above the food/health bar (true) or else put it below (false).
guiAboveFood = false
#Put the mana bar next to the health bar (true) or else leave it next to the food bar (false).
guiByHealth = true
#The mana bar icons jitter when your current mana is low (true) or else the icons always stay put (false).
jitter = true
#Everything about the gui widgets representing your spell slots (equipped spells)
[spellSlots]
#Always show all spell slots (true) or else only show them if at least 1 spell is equipped (false).
alwaysShow = false
#The position to put the spell slots in the survival inventory gui.
[spellSlots.survival]
#These values represent the position by going counter-clockwise around the gui with 3 available positions on each side. 0-11 attaches it to the edge of the inventory gui, 12-23 to the edge of the screen.
#Range: 0 ~ 23
position = 0
#Manually move the x position of the spell slots by the set amount.
#Range: -800 ~ 800
offsetX = 0
#Manually move the y position of the spell slots by the set amount.
#Range: -800 ~ 800
offsetY = 0
#The spacing between the spell slots.
#Range: 0 ~ 10
spacing = 1
#The position to put the spell slots in the creative inventory gui.
[spellSlots.creative]
#These values represent the position by going counter-clockwise around the gui with 3 available positions on each side. 0-11 attaches it to the edge of the inventory gui, 12-23 to the edge of the screen.
#Range: 0 ~ 23
position = 0
#Manually move the x position of the spell slots by the set amount.
#Range: -800 ~ 800
offsetX = 0
#Manually move the y position of the spell slots by the set amount.
#Range: -800 ~ 800
offsetY = 0
#The spacing between the spell slots.
#Range: 0 ~ 10
spacing = 1
#Settings relevant for data pack creators.
[technical]
#Show spell and spell node IDs.
showIds = false

View File

@ -0,0 +1,34 @@
#Settings related to when a player dies.
[onDeath]
#Players respawn with their mana bar filled (true) or empty (false).
respawnWithFullMana = false
#Clear a player's spell slots on death (true) or not (false). If forgetSpellsOnDeath is set to true, this always behaves as if it was also set to true.
clearSlots = true
#Make a player forget all learned spells on death (true) or not (false). Forgotten spells are still visible in spell trees but must be relearned before you can equip them.
forgetSpells = true
[misc]
#Resource location of the enchanting table. Some mods could change that. These are the blocks that already have some sort of GUI where the spell progression button is injected.
enchantingTables = ["minecraft:enchanting_table", "quark:matrix_enchanter"]
#For modpack authors. Resource location of blocks that do not have a GUI but should be changed to open the spell progression GUI on right click. Any other functionality derived from right-clicking the block is cancelled.
altProgressionBlocks = []
#Settings relevant for data pack creators.
[technical]
#Debug spells on use. For data pack creators.
debugSpells = false
#Hard limit of jumps by spell actions to prevent endless loops (which would result in a crash).
#Range: 10 ~ 10000
actionJumpLimit = 1000
[globals]
#Switch to turn off item costs.
itemCosts = true
#Switch to turn off terrain damage. Fire may still be spawned.
terrainDamage = true
#Switch to turn off PvP for spells. Any negative aspects are not applied to the player anymore if they come from a player source.
pvp = true
#Switch to turn off all default spell trees. This is a convenience method so you do not have to manually remove them from the mod file.
spellTrees = true