Badges update automatically and link to the mod page on MineUniverse.
Set Effects designed to provide developers with the tools to create fully customizable armor sets in Minecraft. By leveraging KubeJS scripting, this mod introduces a flexible and dynamic system for defining set..
HandSlots (Main/Off-hand items)ArmorSlots (Helmet to Boots)CuriosSlots (Curios items!)//You need import the SetEffects from Contentpacks.
const SetEffects = ContentPacks.getShared('server','com.whisent.seteffects')
//SetRangeManager can modify the effective range of the set
const SetRangeManager = SetEffects.setRangeManager
//SetEvents is the core of this mod,you can use SetEvents to create sets and modify them.
const SetEvents = SetEffects.setEvents
SetEvents.registry(event=>{
event.create(["minecraft:leather_helmet","minecraft:leather_chestplate",
"minecraft:leather_leggings","minecraft:leather_boots"],"leather")
.setName('Leather Set')
.addAttribute("minecraft:generic.max_health",uuid,10,'addition')
.addPotionEffect('speed',0,false,false)
.addAttribute("minecraft:generic.attack_speed",UUID.fromString('38663ac4-26e0-ea8c-f65f-edb9e930c57c'),0.3,'addition')
.setCounts(4)
.injectFallFunc((event,set)=>{
event.setDistance(event.getDistance()-3)
})
})
/**
* For the sets had been registered,you can use modification event to edit.
* getSet method will return a set instance
* getSets method will return a Array<EffectiveSet>
* getMaps method will return the SetsMap,which has all infomations of the Sets.
*/
SetEvents.modification(event=>{
})