mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 10:33:39 +00:00
17 lines
466 B
C++
17 lines
466 B
C++
#include "../Platform/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->removeTile(x, y, z);
|
|
}
|
|
|
|
void LockedChestTile::registerIcons(IconRegister* iconRegister) {
|
|
// None
|
|
} |