the whole game

This commit is contained in:
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#ifndef NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__
#define NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__
//package net.minecraft.client.particle;
#include "WaterDropParticle.h"
#include "../../world/level/Level.h"
class SplashParticle: public WaterDropParticle
{
typedef WaterDropParticle super;
public:
SplashParticle(Level* level, float x, float y, float z, float xa, float ya, float za)
: super(level, x, y, z)
{
gravity = 0.04f;
tex += 1;
if (ya == 0 && (xa != 0 || za != 0)) {
xd = xa;
yd = ya + 0.1;
zd = za;
}
}
};
#endif /*NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__*/