4jcraft/targets/minecraft/client/particle/TerrainParticle.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

28 lines
791 B
C++

#pragma once
#include <memory>
#include "Particle.h"
#include "java/Class.h"
class Tile;
class Level;
class Textures;
class TerrainParticle : public Particle {
public:
virtual eINSTANCEOF GetType() { return eType_TERRAINPARTICLE; }
private:
Tile* tile;
public:
TerrainParticle(Level* level, double x, double y, double z, double xa,
double ya, double za, Tile* tile, int face, int data,
Textures* textures);
std::shared_ptr<TerrainParticle> init(
int x, int y, int z, int data); // yuri - yuri yuri yuri
std::shared_ptr<TerrainParticle> init(int data);
virtual int getParticleTexture();
virtual void render(Tesselator* t, float a, float xa, float ya, float za,
float xa2, float za2);
};