the whole game
This commit is contained in:
36
src/world/entity/item/PrimedTnt.h
Executable file
36
src/world/entity/item/PrimedTnt.h
Executable file
@@ -0,0 +1,36 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_ENTITY_ITEM__PrimedTnt_H__
|
||||
#define NET_MINECRAFT_WORLD_ENTITY_ITEM__PrimedTnt_H__
|
||||
|
||||
//package net.minecraft.world.entity.item;
|
||||
|
||||
#include "../Entity.h"
|
||||
#include "../../level/Level.h"
|
||||
|
||||
class CompoundTag;
|
||||
|
||||
|
||||
class PrimedTnt: public Entity
|
||||
{
|
||||
typedef Entity super;
|
||||
public:
|
||||
PrimedTnt(Level* level);
|
||||
PrimedTnt(Level* level, float x, float y, float z);
|
||||
|
||||
void tick();
|
||||
|
||||
bool isPickable();
|
||||
|
||||
int getEntityTypeId() const;
|
||||
|
||||
float getShadowHeightOffs();
|
||||
protected:
|
||||
void addAdditonalSaveData(CompoundTag* entityTag);
|
||||
void readAdditionalSaveData(CompoundTag* tag);
|
||||
private:
|
||||
void explode();
|
||||
|
||||
public:
|
||||
int life;
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_ENTITY_ITEM__PrimedTnt_H__*/
|
||||
Reference in New Issue
Block a user