Files
FearFactory/1.20.1-FearFactoryTest/minecraft/config/attributeslib.cfg
admin 95ed26d7d8 Start
just getting the modpack files in here, also added the following folders to git ignore inside the top level of the minecraft folder (the one with save files in it):

/server-resource-packs/
/saves/
/schematics/
/screenshots/
/logs/
/.mixin.out/
/crash-reports/
usernamecache.json
usercache.json

Also I added the following file extensions to be considered "large" by the server as not to pollute diff history here are the commands I used to add these files:

git lfs track "*.jar"
git lfs track "*.zip"
git lfs track "*.7z"
git lfs track "*.gz"
git lfs track "*.rar"
git lfs track "*.tar"
git lfs track "*.iso"

git lfs track "*.png"
git lfs track "*.jpg"
git lfs track "*.jpeg"
git lfs track "*.gif"
git lfs track "*.bmp"
git lfs track "*.tiff"
git lfs track "*.svg"
git lfs track "*.webp"

git lfs track "*.mp3"
git lfs track "*.wav"
git lfs track "*.ogg"
git lfs track "*.flac"
git lfs track "*.aac"
git lfs track "*.m4a"
git lfs track "*.wma"

git lfs track "*.mp4"
git lfs track "*.mkv"
git lfs track "*.avi"
git lfs track "*.mov"
git lfs track "*.webm"
git lfs track "*.flv"
git lfs track "*.wmv"

git lfs track "*.psd"
git lfs track "*.ai"
git lfs track "*.pdf"

git lfs track "*.mca"
git lfs track "*.dat"
git lfs track "*.dat_old"
2025-05-11 15:06:38 -05:00

68 lines
2.6 KiB
INI

# File Specification: https://gist.github.com/Shadows-of-Fire/88ac714a758636c57a52e32ace5474c1
#
general {
# If the Attributes GUI is available.
# Default: true
B:"Enable Attributes GUI"=true
# If description tooltips will be added to potion items.
# Default: true
B:"Enable Potion Tooltips"=true
# A list of attributes that will be hidden from the Attributes GUI.
# Default: [forge:nametag_distance], [attributeslib:creative_flight], [attributeslib:elytra_flight], [attributeslib:ghost_health]
S:"Hidden Attributes" <
forge:nametag_distance
attributeslib:creative_flight
attributeslib:elytra_flight
attributeslib:ghost_health
>
}
combat_rules {
# The protection damage reduction formula.
# Computed after Prot Pierce and Prot Shred are applied.
# Arguments:
# 'protPoints' - The number of protection points the user has after reductions.
# Output:
# The percentage of damage taken after protection has been applied, from 0 (no damage taken) to 1 (full damage taken).
# Reference:
# See https://github.com/ezylang/EvalEx#usage-examples for how to write expressions.
#
# Default: 1 - min(0.025 * protPoints, 0.85)
S:"Protection Formula"=1 - min(0.025 * protPoints, 0.85)
# The a-value formula, which computes an intermediate used in the armor formula.
# Arguments:
# 'damage' - The damage of the incoming attack.
# Output:
# The a-value, which will be supplied as an argument to the armor formula.
# Reference:
# See https://github.com/ezylang/EvalEx#usage-examples for how to write expressions.
#
# Default: if(damage < 20, 10, 10 + (damage - 20) / 2)
S:"A-Value Formula"=if(damage < 20, 10, 10 + (damage - 20) / 2)
# The armor damage reduction formula.
# Computed after Armor Pierce and Armor Shred are applied.
# Arguments:
# 'a' - The a-value computed by the a-value formula.
# 'damage' - The damage of the incoming attack.
# 'armor' - The armor value of the user after reductions.
# 'toughness' - The armor toughness value of the user.
# Output:
# The percentage of damage taken after armor has been applied, from 0 (no damage taken) to 1 (full damage taken).
# Reference:
# See https://github.com/ezylang/EvalEx#usage-examples for how to write expressions.
# Note:
# The vanilla formula is: 1 - min(max(armor - damage / (2 + toughness / 4), armor / 5), 20) / 25
#
# Default: a / (a + armor)
S:"Armor Formula"=a / (a + armor)
}