4jcraft/Minecraft.World/Blocks/PoweredMetalTile.cpp
2026-03-21 15:52:50 -05:00

12 lines
393 B
C++

#include "../Platform/stdafx.h"
#include "../Headers/net.minecraft.world.level.redstone.h"
#include "PoweredMetalTile.h"
PoweredMetalTile::PoweredMetalTile(int id) : MetalTile(id) {}
bool PoweredMetalTile::isSignalSource() { return true; }
int PoweredMetalTile::getSignal(LevelSource* level, int x, int y, int z,
int dir) {
return Redstone::SIGNAL_MAX;
}