Home›Java›Mods›Set Effects
Set Effects
ModsJava

Set Effects

Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.

by WhiseNT · on CurseForge

⬇ Download on CurseForge

The author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.

Set Effects — screenshot 1

Set Effects Mod

Overview

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..

Key Features

For Developer

Use Example

//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=>{

})
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more