Continue mapping migration
This commit is contained in:
parent
99ade39404
commit
f03fd03bd0
499 changed files with 12567 additions and 12723 deletions
|
@ -1,15 +1,15 @@
|
|||
package ru.betterend.effects;
|
||||
|
||||
import net.minecraft.world.effect.MobEffect;
|
||||
import net.minecraft.core.Registry;
|
||||
import net.minecraft.world.effect.MobEffect;
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.effects.status.EndVeilEffect;
|
||||
|
||||
public class EndMobEffects {
|
||||
|
||||
public class EndStatusEffects {
|
||||
|
||||
public final static MobEffect END_VEIL = registerEffect("end_veil", new EndVeilEffect());
|
||||
|
||||
|
||||
public static <E extends MobEffect> MobEffect registerEffect(String name, E effect) {
|
||||
return Registry.register(Registry.STATUS_EFFECT, BetterEnd.makeID(name), effect);
|
||||
return Registry.register(Registry.MOB_EFFECT, BetterEnd.makeID(name), effect);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue