mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-05 04:49:10 +01:00
18 lines
709 B
Java
18 lines
709 B
Java
|
package de.ellpeck.naturesaura.entities;
|
||
|
|
||
|
import de.ellpeck.naturesaura.NaturesAura;
|
||
|
import de.ellpeck.naturesaura.entities.render.RenderEffectInhibitor;
|
||
|
import net.minecraft.util.ResourceLocation;
|
||
|
import net.minecraftforge.fml.common.registry.EntityRegistry;
|
||
|
|
||
|
public final class ModEntities {
|
||
|
|
||
|
public static void init() {
|
||
|
EntityRegistry.registerModEntity(
|
||
|
new ResourceLocation(NaturesAura.MOD_ID, "effect_inhibitor"),
|
||
|
EntityEffectInhibitor.class, NaturesAura.MOD_ID + ".effect_inhibitor",
|
||
|
0, NaturesAura.MOD_ID, 64, 1, false);
|
||
|
NaturesAura.proxy.registerEntityRenderer(EntityEffectInhibitor.class, () -> RenderEffectInhibitor::new);
|
||
|
}
|
||
|
}
|