Untitled

mail@pastecode.io avatar
unknown
java
2 years ago
675 B
3
Indexable
Never
@OnlyIn(Dist.CLIENT)
public abstract class CustomParticle extends SingleQuadParticle {
    protected CustomParticle(ClientLevel clientLevel, double x, double y, double z) {
        super(clientLevel, x, y, z);
    }

    protected CustomParticle(ClientLevel clientLevel, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) {
        super(clientLevel, x, y, z, xSpeed, ySpeed, zSpeed);
    }

    protected float getU0() {
        return 0.0F;
    }

    protected float getU1() {
        return 0.0F;
    }

    protected float getV0() {
        return 1.0F;
    }

    protected float getV1() {
        return 1.0F;
    }
}