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
14 lines
363 B
C++
14 lines
363 B
C++
#include "stdafx.h"
|
|
#include "net.minecraft.world.level.tile.h"
|
|
#include "net.minecraft.world.item.h"
|
|
#include "PistonTileItem.h"
|
|
|
|
PistonTileItem::PistonTileItem(int id) : TileItem(id)
|
|
{
|
|
}
|
|
|
|
int PistonTileItem::getLevelDataForAuxValue(int auxValue)
|
|
{
|
|
// return an undefined facing until the setPlacedBy method is called
|
|
return PistonBaseTile::UNDEFINED_FACING;
|
|
} |