first commit
This commit is contained in:
22
Minecraft.World/LockedChestTile.cpp
Normal file
22
Minecraft.World/LockedChestTile.cpp
Normal file
@@ -0,0 +1,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
|
||||
}
|
||||
Reference in New Issue
Block a user