forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
27
src/world/level/tile/GlassTile.h
Executable file
27
src/world/level/tile/GlassTile.h
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__GlassTile_H__
|
||||
#define NET_MINECRAFT_WORLD_LEVEL_TILE__GlassTile_H__
|
||||
|
||||
//package net.minecraft.world.level.tile;
|
||||
|
||||
#include "HalfTransparentTile.h"
|
||||
#include "../material/Material.h"
|
||||
#include "../../../util/Random.h"
|
||||
|
||||
class GlassTile: public HalfTransparentTile
|
||||
{
|
||||
typedef HalfTransparentTile super;
|
||||
public:
|
||||
GlassTile(int id, int tex, const Material* material, bool allowSame)
|
||||
: super(id, tex, material, allowSame)
|
||||
{}
|
||||
|
||||
int getResourceCount(Random* random) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int getRenderLayer() {
|
||||
return Tile::RENDERLAYER_ALPHATEST;
|
||||
}
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_LEVEL_TILE__GlassTile_H__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue