Skip to content

Commit 35e0a9b

Browse files
committed
feat: Backport CustomMobEffect
1 parent 7c36637 commit 35e0a9b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package net.blay09.mods.balm.world.effect;
2+
3+
import net.minecraft.core.particles.ParticleOptions;
4+
import net.minecraft.world.effect.MobEffect;
5+
import net.minecraft.world.effect.MobEffectCategory;
6+
7+
/**
8+
* No different from a MobEffect, other than having public constructors for convenience.
9+
*/
10+
public class CustomMobEffect extends MobEffect {
11+
public CustomMobEffect(MobEffectCategory category, int color) {
12+
super(category, color);
13+
}
14+
15+
public CustomMobEffect(MobEffectCategory category, int color, ParticleOptions particle) {
16+
super(category, color, particle);
17+
}
18+
}

0 commit comments

Comments
 (0)