HomeJavaModsRandom Effect give
Random Effect give
ModsJava

Random Effect give

by Praxime · on Modrinth

This plugin gives random effect everytime after executing /randomeffect, Helpful for streamers to use the plugin on their own server

⬇ Download on Modrinth

Random Effect give plugin

forthebadgeicons8forthebadge

Here's a part of the code of this plugin:

        PotionEffectType randomEffect = validEffects.get(random.nextInt(validEffects.size()));
        int durationSeconds = 10 + random.nextInt(111);
        int durationTicks = durationSeconds * 20;
        int amplifier = 1;
        player.addPotionEffect(new PotionEffect(randomEffect, durationTicks, amplifier));
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.

Verified by MCModsHub

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

Explore more