mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 05:33:40 +00:00
20 lines
511 B
C++
20 lines
511 B
C++
#include "GlassTile.h"
|
|
|
|
#include <string>
|
|
|
|
#include "minecraft/world/level/tile/HalfTransparentTile.h"
|
|
|
|
class Material;
|
|
|
|
GlassTile::GlassTile(int id, Material* material, bool allowSame)
|
|
: HalfTransparentTile(id, "glass", material, allowSame) {}
|
|
|
|
int GlassTile::getResourceCount(Random* random) { return 0; }
|
|
|
|
int GlassTile::getRenderLayer() { return 0; }
|
|
|
|
bool GlassTile::isSolidRender() { return false; }
|
|
|
|
bool GlassTile::isCubeShaped() { return false; }
|
|
|
|
bool GlassTile::isSilkTouchable() { return true; } |