Start migration
This commit is contained in:
parent
6630ce0cab
commit
47ed597358
491 changed files with 12045 additions and 11953 deletions
|
@ -1,14 +1,14 @@
|
|||
package ru.betterend.effects;
|
||||
|
||||
import net.minecraft.entity.effect.StatusEffect;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.minecraft.world.entity.effect.StatusEffect;
|
||||
import net.minecraft.core.Registry;
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.effects.status.EndVeilEffect;
|
||||
|
||||
public class EndStatusEffects {
|
||||
|
||||
|
||||
public final static StatusEffect END_VEIL = registerEffect("end_veil", new EndVeilEffect());
|
||||
|
||||
|
||||
public static <E extends StatusEffect> StatusEffect registerEffect(String name, E effect) {
|
||||
return Registry.register(Registry.STATUS_EFFECT, BetterEnd.makeID(name), effect);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue