mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
14 lines
686 B
Diff
14 lines
686 B
Diff
--- a/net/minecraft/client/particle/FireworkParticles.java
|
|
+++ b/net/minecraft/client/particle/FireworkParticles.java
|
|
@@ -256,6 +_,10 @@
|
|
colors = IntList.of(DyeColor.BLACK.getFireworkColor());
|
|
}
|
|
|
|
+ var factory = net.minecraftforge.client.FireworkShapeFactoryRegistry.get(explosionx.shape());
|
|
+ if (factory != null)
|
|
+ factory.build(this, trail, twinkle, colors.toIntArray(), colors.toIntArray());
|
|
+ else
|
|
switch (explosionx.shape()) {
|
|
case SMALL_BALL:
|
|
this.createParticleBall(0.25, 2, colors, fadeColors, trail, twinkle);
|