4jcraft/Minecraft.World/Blocks/BeaconTile.h
2026-03-21 15:52:50 -05:00

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();
};