Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Set Bonuses

Set Bonuses

Fully configurable enchantments and set bonuses

660
7
Equipment
Magic
Set Bonuses has been archived. Set Bonuses will not receive any further updates unless the author decides to unarchive the project.
AboutChangelogVersions

Set Bonuses

This 1.17.1 Fabric mod requires Fabric API. It was written by CodedSakura for the Summer 2021 ServJam.

It includes in itself Polymer and Server Translations API.

Set Bonuses adds fully configurable enchantments and set bonuses.

Config

Located in config/SetBonuses.json.

Root:
enchantments:
> enabled: boolean = true
> list: ConfigEnchantment[] = []
setBonuses:
> enabled: boolean = true
> list: ConfigSetBonus[] = []

ConfigEnchantment

Source

enabled: boolean = true
id: string [Required!]
levels: int = 1 - amount of enchantment levels
toggleable: boolean = true - weather the player can toggle the enchantment using MMB
treasue: boolean = false - is treasure enchant
cursed: boolean = false - is cursed enchant
forEnchantedBook: boolean = true - can be gotten in an enchantment table
forRandomSelection: boolean = true - can be gotten by villager trading
slots: string[] = ["HEAD", "CHEST", "LEGS", "FEET"] - on what slots it will work
target: string = "ARMOR" - on what can be applied (valid values: "ARMOR", "ARMOR_HEAD", "ARMOR_CHEST", "ARMOR_LEGS", "ARMOR_FEET")
rarity: string = "UNCOMMON" - (valid values: "COMMON", "UNCOMMON", "RARE", "VERY_RARE")
power: - level scaling in enchantment table
> base: int = 5 - base level
> delta: int = 5 - level range
> increment: int = 5 - increase to base per level
stacking: string = "MAX" - "MAX" - highest, "ADDITIVE" - sum, "MULTIPLICATIVE" - product
effect: [] = [] - array of potion effects
> id: string [Required!]
> duration: int = 210 > ambient: boolean = false > showParticles: boolean = false > showIcon: boolean = true materials: string[] = [] - empty array means any item, otherwise functions as whitelist (valid values: "LEATHER", "CHAIN", "IRON", "GOLD", "DIAMOND", "TURTLE", "NETHERITE")

ConfigSetBonus

Source

enabled: boolean = true
effect: [] = [] - array of potion effects
> id: string [Required!]
> duration: int = 210
> ambient: boolean = false
> showParticles: boolean = false
> showIcon: boolean = true
toughness: float = 0 - added toughness per piece
protection: float = 0 - added protection per piece
knockbackResistance: float = 0 - added knockback resistance per piece
partial: string = "OFF" - "OFF" - only if all 4 pieces, "REDUCED_3" - reduced by half if 3 of 4 pieces "MISSING_CHEST" - 4 pieces or mismatched chest piece
material: string [Required!] - (valid values: "LEATHER", "CHAIN", "IRON", "GOLD", "DIAMOND", "NETHERITE")

Thanks

Many thanks to the helpful people over at the ServJam discord and Fabric Server-Side Development discord! Without your help I couldn't have rushed it last evening to completion it wouldn't be where it ended up being!
Special shout-outs to (in no particular order) BradBot_1#2042, TheEpicBlock_TEB#0452, Patbox#4687, Potatoboy#3053 and SpaceClouds42#2255!

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.18
1.17.1

Platforms

Fabric

Supported environments

Server-side

Links

Report issues View source Visit wiki

Creators

CodedSakura
CodedSakura Owner

Details

Licensed ISC
Published 3 years ago
Updated 3 years ago

Modrinth is open source.

main@a0bd011

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.