Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
1.5 kB · 53 lines
C
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253#pragma onceusing namespace std;
#include "..\Minecraft.World\Entity.h"#include "..\Minecraft.World\ParticleTypes.h"#include "ParticleEngine.h"class Tesselator;class CompoundTag;class Icon;
class Particle : public Entity{protected: int texX, texY; float uo, vo; int age; int lifetime; float size; float gravity; float rCol, gCol, bCol; float alpha; Icon *tex;public: static double xOff, yOff, zOff;private: void _init(Level *level, double x, double y, double z);protected: Particle(Level *level, double x, double y, double z);public: Particle(Level *level, double x, double y, double z, double xa, double ya, double za); virtual shared_ptr<Particle> setPower(float power); virtual shared_ptr<Particle> scale(float scale); void setColor(float r, float g, float b); void setAlpha(float alpha); float getRedCol(); float getGreenCol(); float getBlueCol(); float getAlpha();protected: virtual bool makeStepSound(); virtual void defineSynchedData();public: virtual void tick(); virtual void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2); virtual int getParticleTexture(); virtual void addAdditonalSaveData(CompoundTag *entityTag); virtual void readAdditionalSaveData(CompoundTag *tag); virtual void setTex(Textures *textures, Icon *icon); virtual void setMiscTex(int slotIndex); virtual void setNextMiscAnimTex(); virtual bool isAttackable(); virtual wstring toString();};