first commit
This commit is contained in:
19
Minecraft.World/IceTile.h
Normal file
19
Minecraft.World/IceTile.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include "HalfTransparentTile.h"
|
||||
|
||||
class Random;
|
||||
|
||||
class IceTile : public HalfTransparentTile
|
||||
{
|
||||
public:
|
||||
IceTile(int id);
|
||||
virtual int getRenderLayer();
|
||||
virtual bool shouldRenderFace(LevelSource *level, int x, int y, int z, int face);
|
||||
virtual void playerDestroy(Level *level, shared_ptr<Player> player, int x, int y, int z, int data);
|
||||
virtual int getResourceCount(Random *random);
|
||||
virtual void tick(Level *level, int x, int y, int z, Random *random);
|
||||
virtual int getPistonPushReaction();
|
||||
|
||||
// 4J Added so we can check before we try to add a tile to the tick list if it's actually going to do seomthing
|
||||
virtual bool shouldTileTick(Level *level, int x,int y,int z);
|
||||
};
|
||||
Reference in New Issue
Block a user