2020-04-15 14:22:03 +02:00
|
|
|
package com.minelittlepony.unicopia.client;
|
|
|
|
|
2020-04-22 16:28:20 +02:00
|
|
|
import com.minelittlepony.unicopia.client.particle.ChangelingMagicParticle;
|
|
|
|
import com.minelittlepony.unicopia.client.particle.DiskParticle;
|
|
|
|
import com.minelittlepony.unicopia.client.particle.MagicParticle;
|
|
|
|
import com.minelittlepony.unicopia.client.particle.RaindropsParticle;
|
|
|
|
import com.minelittlepony.unicopia.client.particle.SphereParticle;
|
|
|
|
import com.minelittlepony.unicopia.particles.UParticles;
|
2020-06-26 11:44:47 +02:00
|
|
|
import com.minelittlepony.unicopia.world.client.UWorldClient;
|
2020-04-22 16:28:20 +02:00
|
|
|
import net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry;
|
2020-04-15 14:22:03 +02:00
|
|
|
|
|
|
|
public interface URenderers {
|
|
|
|
static void bootstrap() {
|
2020-04-22 16:28:20 +02:00
|
|
|
ParticleFactoryRegistry.getInstance().register(UParticles.UNICORN_MAGIC, MagicParticle.Factory::new);
|
|
|
|
ParticleFactoryRegistry.getInstance().register(UParticles.CHANGELING_MAGIC, ChangelingMagicParticle.Factory::new);
|
|
|
|
ParticleFactoryRegistry.getInstance().register(UParticles.RAIN_DROPS, RaindropsParticle.Factory::new);
|
2020-05-03 19:20:51 +02:00
|
|
|
ParticleFactoryRegistry.getInstance().register(UParticles.SPHERE, SphereParticle::new);
|
|
|
|
ParticleFactoryRegistry.getInstance().register(UParticles.DISK, DiskParticle::new);
|
2020-04-26 22:40:43 +02:00
|
|
|
|
2020-06-26 11:44:47 +02:00
|
|
|
UWorldClient.bootstrap();
|
2020-04-15 14:22:03 +02:00
|
|
|
}
|
|
|
|
}
|