mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-20 13:37:06 +00:00
17 lines
474 B
C++
17 lines
474 B
C++
#include "../../../../../Header Files/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
|
|
} |