Portal block
This commit is contained in:
parent
439e96a526
commit
59a0d0df6c
18 changed files with 765 additions and 1 deletions
|
@ -6,12 +6,15 @@ import net.minecraft.particle.DefaultParticleType;
|
|||
import net.minecraft.util.registry.Registry;
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.particle.ParticleGlowingSphere;
|
||||
import ru.betterend.particle.PaticlePortalSphere;
|
||||
|
||||
public class ParticleRegistry {
|
||||
public static final DefaultParticleType GLOWING_SPHERE = register("glowing_sphere");
|
||||
public static final DefaultParticleType PORTAL_SPHERE = register("portal_sphere");
|
||||
|
||||
public static void register() {
|
||||
ParticleFactoryRegistry.getInstance().register(GLOWING_SPHERE, ParticleGlowingSphere.FactoryGlowingSphere::new);
|
||||
ParticleFactoryRegistry.getInstance().register(PORTAL_SPHERE, PaticlePortalSphere.FactoryPortalSphere::new);
|
||||
}
|
||||
|
||||
private static DefaultParticleType register(String name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue