aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BeaconTile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BeaconTile.h')
-rw-r--r--Minecraft.World/BeaconTile.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Minecraft.World/BeaconTile.h b/Minecraft.World/BeaconTile.h
new file mode 100644
index 00000000..d213fa3d
--- /dev/null
+++ b/Minecraft.World/BeaconTile.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "BaseEntityTile.h"
+
+class BeaconTile : public BaseEntityTile
+{
+public:
+ BeaconTile(int id);
+
+ shared_ptr<TileEntity> newTileEntity(Level *level);
+ bool use(Level *level, int x, int y, int z, shared_ptr<Player> player, int clickedFace, float clickX, float clickY, float clickZ, bool soundOnly = false);
+ bool isSolidRender(bool isServerLevel = false);
+ bool isCubeShaped();
+ bool blocksLight();
+ int getRenderShape();
+ void registerIcons(IconRegister *iconRegister);
+ void setPlacedBy(Level *level, int x, int y, int z, shared_ptr<LivingEntity> by, shared_ptr<ItemInstance> itemInstance);
+ virtual bool TestUse();
+}; \ No newline at end of file