blob: 8873820ee0a540e70b862dfa5c674d64ee4e58d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "stdafx.h"
#include "net.minecraft.world.level.h"
#include "LockedChestTile.h"
LockedChestTile::LockedChestTile(int id) : Tile(id, Material::wood)
{
}
bool LockedChestTile::mayPlace(Level *level, int x, int y, int z)
{
return true;
}
void LockedChestTile::tick(Level *level, int x, int y, int z, Random *random)
{
level->removeTile(x, y, z);
}
void LockedChestTile::registerIcons(IconRegister *iconRegister)
{
// None
}
|