4jcraft/targets/minecraft/client/particle/TakeAnimationParticle.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

29 lines
737 B
C++

#pragma once
#include <memory>
#include "Particle.h"
#include "java/Class.h"
class Entity;
class Level;
class TakeAnimationParticle : public Particle {
public:
virtual eINSTANCEOF GetType() { return eType_TAKEANIMATIONPARTICLE; }
private:
std::shared_ptr<Entity> item;
std::shared_ptr<Entity> target;
int life;
int lifeTime;
float yOffs;
public:
TakeAnimationParticle(Level* level, std::shared_ptr<Entity> item,
std::shared_ptr<Entity> target, float yOffs);
~TakeAnimationParticle();
virtual void render(Tesselator* t, float a, float xa, float ya, float za,
float xa2, float za2);
virtual void tick();
virtual int getParticleTexture();
};