mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 12:13:36 +00:00
22 lines
756 B
C++
22 lines
756 B
C++
#pragma once
|
|
|
|
#include "BaseEntityTile.h"
|
|
|
|
class BeaconTile : public BaseEntityTile {
|
|
public:
|
|
BeaconTile(int id);
|
|
|
|
std::shared_ptr<TileEntity> newTileEntity(Level* level);
|
|
bool use(Level* level, int x, int y, int z, std::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,
|
|
std::shared_ptr<LivingEntity> by,
|
|
std::shared_ptr<ItemInstance> itemInstance);
|
|
virtual bool TestUse();
|
|
}; |