aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/IceTile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/IceTile.h')
-rw-r--r--Minecraft.World/IceTile.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Minecraft.World/IceTile.h b/Minecraft.World/IceTile.h
new file mode 100644
index 00000000..b3f1a5e6
--- /dev/null
+++ b/Minecraft.World/IceTile.h
@@ -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);
+};