forked from rosebudmods/rainglow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParticleHelper.java
More file actions
22 lines (19 loc) · 817 Bytes
/
ParticleHelper.java
File metadata and controls
22 lines (19 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package io.ix0rai.rainglow.data;
import net.minecraft.client.particle.ItemBreakParticle;
import net.minecraft.client.particle.Particle;
import net.minecraft.client.world.ClientWorld;
import net.minecraft.unmapped.C_hvackyip;
/**
* @author A5ho9999
* Helper for creating particles because Mojang likes to torture everyone
*/
public class ParticleHelper {
public static class CustomItemBreakParticle extends ItemBreakParticle {
public CustomItemBreakParticle(ClientWorld world, double d, double e, double f, C_hvackyip c_hvackyip) {
super(world, d, e, f, c_hvackyip);
}
}
public static Particle createItemBreakParticle(ClientWorld world, double d, double e, double f, C_hvackyip c_hvackyip) {
return new CustomItemBreakParticle(world, d, e, f, c_hvackyip);
}
}