Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
17 lines
337 B
C++
17 lines
337 B
C++
#include "stdafx.h"
|
|
#include "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;
|
|
} |