Reformated
This commit is contained in:
parent
fc1da134e7
commit
60e8008cb7
416 changed files with 5772 additions and 4573 deletions
|
@ -1,5 +1,7 @@
|
|||
package org.betterx.betterend.particle;
|
||||
|
||||
import org.betterx.bclib.util.MHelper;
|
||||
|
||||
import net.minecraft.client.multiplayer.ClientLevel;
|
||||
import net.minecraft.client.particle.*;
|
||||
import net.minecraft.core.particles.SimpleParticleType;
|
||||
|
@ -8,8 +10,6 @@ import net.minecraft.util.Mth;
|
|||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
|
||||
import org.betterx.bclib.util.MHelper;
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
public class ParticleSulphur extends TextureSheetParticle {
|
||||
private int ticks;
|
||||
|
@ -20,14 +20,16 @@ public class ParticleSulphur extends TextureSheetParticle {
|
|||
private double nextVY;
|
||||
private double nextVZ;
|
||||
|
||||
protected ParticleSulphur(ClientLevel world,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
double r,
|
||||
double g,
|
||||
double b,
|
||||
SpriteSet sprites) {
|
||||
protected ParticleSulphur(
|
||||
ClientLevel world,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
double r,
|
||||
double g,
|
||||
double b,
|
||||
SpriteSet sprites
|
||||
) {
|
||||
super(world, x, y, z, r, g, b);
|
||||
pickSprite(sprites);
|
||||
|
||||
|
@ -94,14 +96,16 @@ public class ParticleSulphur extends TextureSheetParticle {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Particle createParticle(SimpleParticleType type,
|
||||
ClientLevel world,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
double vX,
|
||||
double vY,
|
||||
double vZ) {
|
||||
public Particle createParticle(
|
||||
SimpleParticleType type,
|
||||
ClientLevel world,
|
||||
double x,
|
||||
double y,
|
||||
double z,
|
||||
double vX,
|
||||
double vY,
|
||||
double vZ
|
||||
) {
|
||||
return new ParticleSulphur(world, x, y, z, 1, 1, 1, sprites);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue