blob: 4b90d1dc1d757d18e1f83d973e81e266ef743d59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#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();
};
|