mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 11:53:36 +00:00
22 lines
452 B
C++
22 lines
452 B
C++
#include "../Build/stdafx.h"
|
|
#include "../Headers/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
|
|
} |