aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/BreakingItemParticle.h
blob: 390426d412686cc21429f0c3f2c8092e9ed5d2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "Particle.h"

class BreakingItemParticle : public Particle
{
	// virtual eINSTANCEOF GetType(); // 4J-IB/JEV TODO needs implementation

public:
	virtual eINSTANCEOF GetType() { return eType_BREAKINGITEMPARTICLE; }
	void _init(Item *item, Textures *textures, int data);
	BreakingItemParticle(Level *level, double x, double y, double z, Item *item, Textures *textures, int data = 0);
	BreakingItemParticle(Level *level, double x, double y, double z, double xa, double ya, double za, Item *item, Textures *textures, int data = 0);
    virtual int getParticleTexture();
    virtual void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2);
};