public static CommonPacket getUpdatePacket(Object tileEntity) {
return Conversion.toCommonPacket.convert(getUpdatePacket.invoke(tileEntity));
}
public static Block getBlock(Object tileEntity) {
TileEntity tile = (TileEntity) tileEntity;
return tile.getWorld().getWorld().getBlockAt(tile.x, tile.y, tile.z);
}