mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-26 03:08:12 +05:00
27 lines
587 B
C++
27 lines
587 B
C++
#pragma once
|
|
|
|
#include "HalfTransparentTile.h"
|
|
|
|
class StainedGlassBlock : public HalfTransparentTile
|
|
{
|
|
friend class ChunkRebuildData;
|
|
private:
|
|
static const int ICONS_LENGTH = 16;
|
|
static Icon *ICONS[ICONS_LENGTH];
|
|
|
|
public:
|
|
StainedGlassBlock(int id, Material *material);
|
|
|
|
Icon *getTexture(int face, int data);
|
|
int getSpawnResourcesAuxValue(int data);
|
|
static int getItemAuxValueForBlockData(int data);
|
|
int getRenderLayer();
|
|
void registerIcons(IconRegister *iconRegister);
|
|
int getResourceCount(Random *random);
|
|
|
|
protected:
|
|
bool isSilkTouchable();
|
|
|
|
public:
|
|
bool isCubeShaped();
|
|
}; |