aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/IceTile.h
blob: b3f1a5e6bf8508d4af7b9df8c2c51cb608911114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
};