aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LockedChestTile.cpp
blob: 774fb929da86258509ceefafd386584596cab8df (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->setTile(x,y,z,0);
}

void LockedChestTile::registerIcons(IconRegister *iconRegister)
{
	// None
}