package com.harry9137.ct.entity;
import com.harry9137.ct.CreepTech;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import java.util.Random;
public class EntityHandler {
public static void RegisterEntity(Class entityClass, String name){
int entityId = EntityRegistry.findGlobalUniqueEntityId();
long x = name.hashCode();
EntityRegistry.registerGlobalEntityID(entityClass, name, entityId);
EntityRegistry.registerModEntity(entityClass, name, entityId, CreepTech.INSTANCE, 1, 1, true);
}
}