Skip to content

Commit

Permalink
add more glyph particle designs
Browse files Browse the repository at this point in the history
  • Loading branch information
reoseah committed Nov 3, 2024
1 parent d8f629c commit 670abe4
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/main/java/io/github/reoseah/magisterium/Magisterium.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ public void onInitialize() {
Registry.register(Registries.PARTICLE_TYPE, "magisterium:glyph_c", MagisteriumParticles.GLYPH_C);
Registry.register(Registries.PARTICLE_TYPE, "magisterium:glyph_d", MagisteriumParticles.GLYPH_D);
Registry.register(Registries.PARTICLE_TYPE, "magisterium:glyph_e", MagisteriumParticles.GLYPH_E);
Registry.register(Registries.PARTICLE_TYPE, "magisterium:glyph_f", MagisteriumParticles.GLYPH_F);
Registry.register(Registries.PARTICLE_TYPE, "magisterium:glyph_g", MagisteriumParticles.GLYPH_G);

Registry.register(Registries.SOUND_EVENT, "magisterium:chant", MagisteriumSounds.CHANT);
Registry.register(Registries.SOUND_EVENT, "magisterium:arcane_lift_loop", MagisteriumSounds.ARCANE_LIFT_LOOP);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ public void onInitializeClient() {
ParticleFactoryRegistry.getInstance().register(MagisteriumParticles.GLYPH_C, GlyphParticle.Factory::new);
ParticleFactoryRegistry.getInstance().register(MagisteriumParticles.GLYPH_D, GlyphParticle.Factory::new);
ParticleFactoryRegistry.getInstance().register(MagisteriumParticles.GLYPH_E, GlyphParticle.Factory::new);
ParticleFactoryRegistry.getInstance().register(MagisteriumParticles.GLYPH_F, GlyphParticle.Factory::new);
ParticleFactoryRegistry.getInstance().register(MagisteriumParticles.GLYPH_G, GlyphParticle.Factory::new);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ public class MagisteriumParticles {
public static final SimpleParticleType GLYPH_C = new MagisteriumParticleType(true);
public static final SimpleParticleType GLYPH_D = new MagisteriumParticleType(true);
public static final SimpleParticleType GLYPH_E = new MagisteriumParticleType(true);
public static final SimpleParticleType GLYPH_F = new MagisteriumParticleType(true);
public static final SimpleParticleType GLYPH_G = new MagisteriumParticleType(true);

public static final SimpleParticleType[] GLYPHS = {GLYPH_A, GLYPH_B, GLYPH_C, GLYPH_D, GLYPH_E};
public static final SimpleParticleType[] GLYPHS = {GLYPH_A, GLYPH_B, GLYPH_C, GLYPH_D, GLYPH_E, GLYPH_F, GLYPH_G};

// makes constructor public
public static class MagisteriumParticleType extends SimpleParticleType {
Expand Down
12 changes: 12 additions & 0 deletions src/main/resources/assets/magisterium/particles/glyph_f.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"textures": [
"magisterium:glyph_f_3",
"magisterium:glyph_f_3",
"magisterium:glyph_f_3",
"magisterium:glyph_f_3",
"magisterium:glyph_f_2",
"magisterium:glyph_f_2",
"magisterium:glyph_f_1",
"magisterium:glyph_f_0"
]
}
12 changes: 12 additions & 0 deletions src/main/resources/assets/magisterium/particles/glyph_g.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"textures": [
"magisterium:glyph_g_1",
"magisterium:glyph_g_1",
"magisterium:glyph_g_1",
"magisterium:glyph_g_1",
"magisterium:glyph_g_0",
"magisterium:glyph_g_0",
"magisterium:glyph_1",
"magisterium:glyph_0"
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 670abe4

Please sign in to comment.