Set Bonuses 图标

Set Bonuses

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 v0.1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/set-bonuses
资源信息

Minecraft 版本: 1.18

平台: fabric

标签: equipment magic

资源介绍

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!

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Redstone Tools

价格:0 墨喵币
下载量:0

查看详情
Fuzzy

价格:0 墨喵币
下载量:0

查看详情
TiCEX - Tinkers Construct EX

价格:0 墨喵币
下载量:0

查看详情
TitanForge

价格:0 墨喵币
下载量:0

查看详情