Files
LegacyMultiplayerProject/Minecraft.World/LockedChestTile.cpp
DrPerkyLegit 5b19646cc6 init
2026-06-23 01:27:12 -04:00

22 lines
432 B
C++

#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
}