Unicopia/src/main/java/com/minelittlepony/unicopia/UParticles.java

29 lines
1 KiB
Java
Raw Normal View History

2019-01-28 18:42:18 +01:00
package com.minelittlepony.unicopia;
import com.minelittlepony.unicopia.particle.Particles;
2019-02-03 19:01:50 +01:00
import com.minelittlepony.unicopia.particle.client.ParticleUnicornMagic;
import com.minelittlepony.unicopia.particle.client.ParticleRaindrops;
2019-02-05 20:07:03 +01:00
import com.minelittlepony.unicopia.particle.client.ParticleSphere;
import com.minelittlepony.unicopia.particle.client.ParticleChanglingMagic;
2019-01-28 18:42:18 +01:00
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
2019-01-28 18:42:18 +01:00
public class UParticles {
2019-02-03 19:01:50 +01:00
public static int UNICORN_MAGIC;
public static int CHANGELING_MAGIC;
2019-01-28 18:42:18 +01:00
2019-02-03 19:01:50 +01:00
public static int RAIN_DROPS;
2019-02-05 20:07:03 +01:00
public static int SPHERE;
@SideOnly(Side.CLIENT)
2019-01-28 18:42:18 +01:00
static void init() {
2019-02-03 19:01:50 +01:00
UNICORN_MAGIC = Particles.instance().registerParticle(ParticleUnicornMagic::new);
RAIN_DROPS = Particles.instance().registerParticle(ParticleRaindrops::new);
CHANGELING_MAGIC = Particles.instance().registerParticle(ParticleChanglingMagic::new);
2019-02-05 20:07:03 +01:00
SPHERE = Particles.instance().registerParticle(ParticleSphere::new);
2019-01-28 18:42:18 +01:00
}
}